Linux EFI development
 help / color / mirror / Atom feed
* [GIT PULL] EFI updates for v7.4
@ 2026-10-21 17:31 Ard Biesheuvel
  2026-10-25  6:19 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Ard Biesheuvel @ 2026-10-21 17:31 UTC (permalink / raw)
  To: torvalds; +Cc: linux-efi, Ard Biesheuvel

From: Ard Biesheuvel <ardb@kernel.org>

Hello Linus,

Please pull the EFI updates below. Details are in the tag.

Note that the 'prerequisite work on the x86 decompressor' mentioned in the tag
is already in your tree via tip's x86/boot pull request, hence the stable tag
used as a base.


The following changes since commit c4b94e70365432a08ea1fe2135d2e3a1f3f4ec05:

  Merge tag 'tip_x86_boot_immutable_for_Ard' into HEAD (2026-10-04 10:30:19 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-next-for-v7.4

for you to fetch changes up to 2c493ac8c347167eec9e4e985d2b58d5fa6fd420:

  lkdtm: Add more EFI runtime tests (2026-10-18 10:28:29 +0200)

----------------------------------------------------------------
EFI updates for v7.4

- Set the LoaderDevicePartUUID EFI variable from the stub to help
  systemd discover the file system layout when booting straight into
  Linux without GRUB or systemd-boot (Vincent Mailhol)

- Some GUID deduplication work from Vincent

- Remove pointless UTF16->UTF8 and vice versa conversions from the stub,
  including some prerequisite work on the x86 decompressor to
  accommodate that

- Some kmap() -> kmap_local_page() conversions in the capsule loader

- Add a runtime control to en/disable EFI runtime services so that
  PREEMPT_RT systems can enable them as needed

- Add a 'nostatfs' mount option to efivarfs so that the cost of querying
  the EFI variable store (which is already rate limited) can be avoided
  entirely on systems where it is disproportionately costly

- Rework the EFI libstub Makefile to align x86 with other architectures,
  and inherit/adapt the global CFLAGS variable rather than reconstruct
  it from scratch

- Constify attributes of statically allocated sysfs nodes

- Avoid register x18 when building the arm64 EFI stub, in order to
  comply with the UEFI spec, and to permit it to execute in a context
  where x18 is special

- Preserve the physical addresses of all EFI config tables that may be
  of interest to an incoming kexec kernel

- Add some LKDTM tests for EFI runtime crashes where the faulting
  address is inside a EFI memory region

- Other minor bug fixes and cosmetic cleanups

----------------------------------------------------------------
Ard Biesheuvel (17):
      lib/ucs2_string: Drop arbitrary input size limit and associated WARN()
      lib/ucs2_string: Suppress modinfo when __DISABLE_EXPORTS is set
      lib/ucs2_string: Split out ucs2_as_utf8_l() taking a separate limit
      efi/libstub: Use ucs2_string library for UTF-16 to UTF-8 conversion
      efi/libstub: Avoid efi_puts() for compile time constant strings
      efi/libstub: Output UTF-16 directly from vsnprintf()
      efi/libstub: Add support for printing human readable GUIDs
      efi/libstub: Add efi_snprintf() to construct wide strings
      Merge branch 'bootloader-info' into next
      efi/libstub: arm64: Don't use the platform register x18
      efi: Constify sysfs attributes
      efi: Use sysfs_emit() not sprintf() to generate sysfs file contents
      efi/runtime-wrappers: Don't park the worker after a recovered firmware fault
      efi/libstub: Don't replace an existing LINUX_EFI_MEMRESERVE table
      efi: Retain the address of the LINUX_EFI_MEMRESERVE table
      efi: Initialize all configuration table addresses to EFI_INVALID_TABLE_ADDR
      lkdtm: Add more EFI runtime tests

Danish Khateeb (2):
      efi/capsule: Replace kmap_atomic() with kmap_local_page()
      efi/capsule-loader: Replace kmap() with kmap_local_page()

Hemanth Selam (1):
      firmware: efi: fix typo "existance" in comment

Jason Gunthorpe (3):
      efi/libstub: Fix error unwind freeing fdt in allocate_new_fdt_and_exit_boot()
      efi/riscv: libstub: Don't set image_size in handle_kernel_image()
      efi/libstub: Free cmdline_ptr in efi_pe_entry

Junxiao Chang (1):
      efi: add dynamic control interface for EFI runtime services

Karl Mehltretter (1):
      efi/libstub: Fix efi_set_event_at() parameter documentation

Kees Cook (3):
      efi/libstub: Declare the x86 stub's assembly entry points
      efi/libstub: Build the x86 stub from KBUILD_CFLAGS
      efi/libstub: Disable kernel stack erasing in the common flags

Prashant Singh (1):
      efivarfs: add nostatfs mount option to skip QueryVariableInfo()

Thorsten Blum (3):
      efistub/x86: Use struct boot_e820_entry for size calculations
      efi/libstub: Simplify check_image_region()
      efi/libstub: Fix grammar in efi_kaslr_relocate_kernel() comment

Vincent Mailhol (4):
      efi/libstub: move direct GUID references to static storage
      efi/libstub: make local GUID variables static
      efi/libstub: factor shared static GUID variables
      efi/libstub: add initial Boot Loader Interface support

 Documentation/filesystems/efivarfs.rst           |  12 ++
 arch/x86/platform/efi/efi.c                      |  13 ++-
 drivers/firmware/efi/capsule-loader.c            |   6 +-
 drivers/firmware/efi/capsule.c                   |   4 +-
 drivers/firmware/efi/efi.c                       |  93 +++++++++------
 drivers/firmware/efi/libstub/Makefile            |  44 +++----
 drivers/firmware/efi/libstub/bli.c               |  86 ++++++++++++++
 drivers/firmware/efi/libstub/efi-stub-entry.c    |   4 +-
 drivers/firmware/efi/libstub/efi-stub-helper.c   | 108 +++++++----------
 drivers/firmware/efi/libstub/efi-stub.c          |  11 +-
 drivers/firmware/efi/libstub/efistub.h           |  12 +-
 drivers/firmware/efi/libstub/fdt.c               |   6 +-
 drivers/firmware/efi/libstub/file.c              |   8 +-
 drivers/firmware/efi/libstub/gop.c               |  23 ++--
 drivers/firmware/efi/libstub/kaslr.c             |  19 ++-
 drivers/firmware/efi/libstub/mem.c               |   2 +-
 drivers/firmware/efi/libstub/pci.c               |   2 +-
 drivers/firmware/efi/libstub/printk.c            |  95 ++-------------
 drivers/firmware/efi/libstub/random.c            |   8 +-
 drivers/firmware/efi/libstub/riscv-stub.c        |   7 +-
 drivers/firmware/efi/libstub/riscv.c             |   2 +-
 drivers/firmware/efi/libstub/smbios.c            |   3 +-
 drivers/firmware/efi/libstub/tpm.c               |   8 +-
 drivers/firmware/efi/libstub/unaccepted_memory.c |   2 +-
 drivers/firmware/efi/libstub/vsprintf.c          | 140 ++++++++---------------
 drivers/firmware/efi/libstub/x86-stub.c          |  20 ++--
 drivers/firmware/efi/libstub/x86-stub.h          |  16 +++
 drivers/firmware/efi/libstub/zboot.c             |   3 +-
 drivers/firmware/efi/runtime-wrappers.c          |  99 +++++++++++++++-
 drivers/misc/lkdtm/bugs.c                        |  33 ++++++
 fs/efivarfs/internal.h                           |   1 +
 fs/efivarfs/super.c                              |  36 +++++-
 include/linux/efi.h                              |  37 +++++-
 include/linux/ucs2_string.h                      |  11 +-
 lib/ucs2_string.c                                |  23 ++--
 35 files changed, 610 insertions(+), 387 deletions(-)
 create mode 100644 drivers/firmware/efi/libstub/bli.c

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] EFI updates for v7.4
  2026-10-21 17:31 [GIT PULL] EFI updates for v7.4 Ard Biesheuvel
@ 2026-10-25  6:19 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2026-10-25  6:19 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: torvalds, linux-efi, Ard Biesheuvel

The pull request you sent on Wed, 21 Oct 2026 19:31:10 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-next-for-v7.4

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

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-25  6:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-21 17:31 [GIT PULL] EFI updates for v7.4 Ard Biesheuvel
2026-10-25  6:19 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox