mbox series

[GIT,PULL] EFI fixes for v6.14 #1

Message ID 20250214175225.544273-2-ardb+git@google.com
State New
Headers show
Series [GIT,PULL] EFI fixes for v6.14 #1 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.14-1

Message

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

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(-)

Comments

pr-tracker-bot@kernel.org Feb. 14, 2025, 10:53 p.m. UTC | #1
The pull request you sent on Fri, 14 Feb 2025 18:52:26 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.14-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c7ab7b2a18f386b37a289a00ff3d92f00bb16934

Thank you!