efi: add API to reserve memory persistently across kexec reboot
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 21 Sep 2018 16:32:46 +0000 (09:32 -0700)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Sep 2018 10:03:57 +0000 (12:03 +0200)
commita23d3bb05ccbd815c79293d2207fedede0b3515d
treee6516189fd4911feabcc212e2639402f2864bb38
parentb844470f22061e8cd646cb355e85d2f518b2c913
efi: add API to reserve memory persistently across kexec reboot

Add kernel plumbing to reserve memory regions persistently on a EFI
system by adding entries to the MEMRESERVE linked list.

Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
drivers/firmware/efi/efi.c
include/linux/efi.h