On Fri, 21 Sep 2018 18:51:08 +0100,
Ard Biesheuvel wrote:
>
> On 21 September 2018 at 10:46, Marc Zyngier wrote:
> > On Fri, 21 Sep 2018 18:14:43 +0100,
> > Jeffrey Hugo wrote:
> >>
> >> On 9/21/2018 10:32 AM, Ard Biesheuvel wrote:
> >> > Add support for persistent memory reservations across
On Fri, 21 Sep 2018 18:14:43 +0100,
Jeffrey Hugo wrote:
>
> On 9/21/2018 10:32 AM, Ard Biesheuvel wrote:
> > Add support for persistent memory reservations across kexec reboot on EFI
> > systems by introducing a Linux-specific UEFI configuration table that points
> > to a linked list in memory
On Fri, 21 Sep 2018 at 10:14, Jeffrey Hugo wrote:
>
> On 9/21/2018 10:32 AM, Ard Biesheuvel wrote:
> > Add support for persistent memory reservations across kexec reboot on EFI
> > systems by introducing a Linux-specific UEFI configuration table that points
> > to a linked list in memory that can
On 9/21/2018 10:32 AM, Ard Biesheuvel wrote:
Add support for persistent memory reservations across kexec reboot on EFI
systems by introducing a Linux-specific UEFI configuration table that points
to a linked list in memory that can be augmented by each successive kexec
kernel to describe regions
Installing UEFI configuration tables can only be done before calling
ExitBootServices(), so if we want to use the new MEMRESRVE config table
from the kernel proper, we need to install a dummy entry from the stub.
Signed-off-by: Ard Biesheuvel
---
drivers/firmware/efi/libstub/arm-stub.c | 27
Add kernel plumbing to reserve memory regions persistently on a EFI
system by adding entries to the MEMRESERVE linked list.
Signed-off-by: Ard Biesheuvel
---
drivers/firmware/efi/efi.c | 32
include/linux/efi.h| 1 +
2 files changed, 33 insertions(+)
diff --git
In order to allow the OS to reserve memory persistently across a
kexec, introduce a Linux-specific UEFI configuration table that
points to the head of a linked list in memory, allowing each kernel
to add list items describing memory regions that the next kernel
should treat as reserved.
This is
Add support for persistent memory reservations across kexec reboot on EFI
systems by introducing a Linux-specific UEFI configuration table that points
to a linked list in memory that can be augmented by each successive kexec
kernel to describe regions in memory that the subsequent kernel should
Hi Nayna,
Thank you for the patch! Perhaps something to improve:
url:
https://github.com/0day-ci/linux/commits/Nayna-Jain/Add-support-for-architecture-specific-IMA-policies/20180920-035110
smatch warnings:
security/integrity/ima/ima_policy.c:489 add_rules() warn: should this be a
bitwise