diff options
author | Matt Fleming <matt@codeblueprint.co.uk> | 2016-03-01 23:02:56 +0000 |
---|---|---|
committer | Matt Fleming <matt@codeblueprint.co.uk> | 2016-09-09 16:08:36 +0100 |
commit | 31ce8cc68180803aa481c0c1daac29d8eaceca9d (patch) | |
tree | 8c5310d53093e288169a193b1776ce33b4237589 /drivers/firmware/efi/esrt.c | |
parent | efi: Allow drivers to reserve boot services forever (diff) | |
download | linux-dev-31ce8cc68180803aa481c0c1daac29d8eaceca9d.tar.xz linux-dev-31ce8cc68180803aa481c0c1daac29d8eaceca9d.zip |
efi/runtime-map: Use efi.memmap directly instead of a copy
Now that efi.memmap is available all of the time there's no need to
allocate and build a separate copy of the EFI memory map.
Furthermore, efi.memmap contains boot services regions but only those
regions that have been reserved via efi_mem_reserve(). Using
efi.memmap allows us to pass boot services across kexec reboot so that
the ESRT and BGRT drivers will now work.
Tested-by: Dave Young <dyoung@redhat.com> [kexec/kdump]
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> [arm]
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Peter Jones <pjones@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Diffstat (limited to 'drivers/firmware/efi/esrt.c')
0 files changed, 0 insertions, 0 deletions