From: Ard Biesheuvel <ardb@xxxxxxxxxx> Hi Linus, Please pull the changes below. While not true fixes, these changes are best merged asap so they can make their way into the stable kernels. That should ensure that the new EFI_MEMORY_HOT_PLUGGABLE memory attribute is used consistently by Linux before it ever turns up in production, ensuring that we can make meaningful use of it without running the risk of regressing existing users. The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b: Linux 6.14-rc1 (2025-02-02 15:39:26 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.14-1 for you to fetch changes up to bbc4578537e350d5bf8a7a2c7d054d6b163b3c41: efi: Use BIT_ULL() constants for memory attributes (2025-02-04 14:08:22 +0100) ---------------------------------------------------------------- EFI fixes for v6.14 #1 Take the newly introduced EFI_MEMORY_HOT_PLUGGABLE memory attribute into account when placing the kernel image in memory at boot. Otherwise, the presence of the kernel image could prevent such a memory region from being unplugged at runtime if it was 'cold plugged', i.e., already plugged in at boot time (and exposed via the EFI memory map) ---------------------------------------------------------------- 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(-)