diff options
| author | Matt Fleming <[email protected]> | 2016-06-23 10:36:32 +0000 |
|---|---|---|
| committer | Matt Fleming <[email protected]> | 2016-09-09 15:08:38 +0000 |
| commit | 4bc9f92e64c81192dcca1c495354bcc7c3b43e7d (patch) | |
| tree | 1e8decb9bf86792cd280c4ee6bc976d3c0d5f096 /lib/ucs2_string.c | |
| parent | efi/esrt: Use efi_mem_reserve() and avoid a kmalloc() (diff) | |
| download | kernel-4bc9f92e64c81192dcca1c495354bcc7c3b43e7d.tar.gz kernel-4bc9f92e64c81192dcca1c495354bcc7c3b43e7d.zip | |
x86/efi-bgrt: Use efi_mem_reserve() to avoid copying image data
efi_mem_reserve() allows us to permanently mark EFI boot services
regions as reserved, which means we no longer need to copy the image
data out and into a separate buffer.
Leaving the data in the original boot services region has the added
benefit that BGRT images can now be passed across kexec reboot.
Reviewed-by: Josh Triplett <[email protected]>
Tested-by: Dave Young <[email protected]> [kexec/kdump]
Tested-by: Ard Biesheuvel <[email protected]> [arm]
Acked-by: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Peter Jones <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Josh Boyer <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Môshe van der Sterre <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions
