mbox series

[0/2] efi: Add support for EFI_MEMORY_HOT_PLUGGABLE

Message ID 20250201172133.3592112-4-ardb+git@google.com
Headers show
Series efi: Add support for EFI_MEMORY_HOT_PLUGGABLE | expand

Message

Ard Biesheuvel Feb. 1, 2025, 5:21 p.m. UTC
From: Ard Biesheuvel <ardb@kernel.org>

Adopt the EFI_MEMORY_HOT_PLUGGABLE memory attribute definition from UEFI
2.11 and test for it where appropriate.

Ard Biesheuvel (2):
  efi: Avoid cold plugged memory for placing the kernel
  efi: Use BIT_ULL() constants for memory attributes

 drivers/firmware/efi/efi.c                 |  6 ++--
 drivers/firmware/efi/libstub/randomalloc.c |  3 ++
 drivers/firmware/efi/libstub/relocate.c    |  3 ++
 include/linux/efi.h                        | 31 ++++++++++----------
 4 files changed, 26 insertions(+), 17 deletions(-)