Skip to contentSkip to conversation

EFI updates for v6.13

GIT PULL Merged Ard Biesheuvel 2 participants 2 messages Nov 19, 2024 – Nov 20, 2024 EFI

lore
Share & tools
lore
#0 lore raw

From: Ard Biesheuvel <[email protected]>

Hi Linus,

Just some cleanups and bug fixes this time around.

Please pull,

The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-next-for-v6.13

for you to fetch changes up to c5d91b16f525ea8c98b3fd8efc5105106d17fe9a:

efi: Fix memory leak in efivar_ssdt_load (2024-11-17 08:54:02 +0100)

----------------------------------------------------------------
EFI updates for v6.13

- Align handling of the compiled-in command line with the core kernel

- Measure the initrd into the TPM also when it was loaded via the EFI file I/O protocols

- Clean up TPM event log handling

- Sanity check the EFI memory attributes table, and apply it after kexec too

- Assorted other fixes

----------------------------------------------------------------
Ard Biesheuvel (6):
efi/libstub: Free correct pointer on failure
efi/zboot: Fix outdated comment about using LoadImage/StartImage efi/memattr: Ignore table if the size is clearly bogus efi/libstub: Parse builtin command line after bootloader provided one efi/libstub: Fix command line fallback handling when loading files efi/libstub: Take command line overrides into account for loaded files

Cyrill Gorcunov (1):
efi: Fix memory leak in efivar_ssdt_load

Gregory Price (4):
tpm: fix signed/unsigned bug when checking event logs
tpm: do not ignore memblock_reserve return value
tpm: fix unsigned/signed mismatch errors related to __calc_tpm2_event_size libstub,tpm: do not ignore failure case when reading final event log

Jeremy Linton (1):
efi/libstub: measure initrd to PCR9 independent of source

Jonathan Marek (2):
efi/libstub: fix efi_parse_options() ignoring the default command line efi/libstub: remove unnecessary cmd_line_len from efi_convert_cmdline()

Nicolas Saenz Julienne (2):
x86/efi: Drop support for the EFI_PROPERTIES_TABLE x86/efi: Apply EFI Memory Attributes after kexec

 arch/x86/platform/efi/efi.c                    | 20 +-----------
 arch/x86/platform/efi/efi_64.c                 | 42 --------------------------
 drivers/firmware/efi/Kconfig                   | 10 +++---
 drivers/firmware/efi/efi.c                     | 41 +++++++++++++++++--------
 drivers/firmware/efi/libstub/efi-stub-helper.c | 12 ++++----
 drivers/firmware/efi/libstub/efi-stub.c        | 26 +++++++---------
 drivers/firmware/efi/libstub/efistub.h         |  2 +-
 drivers/firmware/efi/libstub/file.c            | 22 ++++++++++++++
 drivers/firmware/efi/libstub/tpm.c             |  9 ++++--
 drivers/firmware/efi/libstub/x86-stub.c        |  3 +-
 drivers/firmware/efi/memattr.c                 | 18 ++++++++++-
 drivers/firmware/efi/tpm.c                     | 26 ++++++++++------
 include/linux/efi.h                            | 17 ++---------
 include/linux/tpm_eventlog.h                   |  2 +-
 14 files changed, 117 insertions(+), 133 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 19 Nov 2024 21:11:43 +0100:

The pull request you sent on Tue, 19 Nov 2024 21:11:43 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-next-for-v6.13

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

Thank you!

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