From: Ard Biesheuvel <ardb@xxxxxxxxxx> Hello Linus, Please consider the changes below for v6.8. Only notable change here is the patch that changes the way we deal with spurious errors from the EFI memory attribute protocol. This will be backported to v6.6, and is intended to ensure that we will not paint ourselves into a corner when we tighten this further in order to comply with MS requirements on signed EFI code. Note that this protocol does not currently exist in x86 production systems in the field, only in Microsoft's fork of OVMF, but it will be mandatory for Windows logo certification for x86 PCs in the future. The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d: Linux 6.8-rc1 (2024-01-21 14:11:32 -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.8-1 for you to fetch changes up to 1ad55cecf22f05f1c884adf63cc09d3c3e609ebf: x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section (2024-02-05 10:24:51 +0000) ---------------------------------------------------------------- EFI fixes for v6.8 #1 - Tighten ELF relocation checks on the RISC-V EFI stub - Give up if the new EFI memory attributes protocol fails spuriously on x86 - Take care not to place the kernel in the lowest 16 MB of DRAM on x86 - Omit special purpose EFI memory from memblock - Some fixes for the CXL CPER reporting code - Make the PE/COFF layout of mixed-mode capable images comply with a strict interpretation of the spec ---------------------------------------------------------------- Andrew Bresticker (2): efi: runtime: Fix potential overflow of soft-reserved region size efi: Don't add memblocks for soft-reserved memory Ard Biesheuvel (4): riscv/efistub: Tighten ELF relocation check x86/efistub: Give up if memory attribute protocol returns an error x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section Ira Weiny (2): cxl/cper: Fix errant CPER prints for CXL events cxl/trace: Remove unnecessary memcpy's Jan Kiszka (1): riscv/efistub: Ensure GP-relative addressing is not used Yang Li (1): efi/libstub: Add one kernel-doc comment arch/x86/boot/header.S | 14 ++++++-------- arch/x86/boot/setup.ld | 6 +++--- drivers/acpi/apei/ghes.c | 26 -------------------------- drivers/cxl/core/trace.h | 6 +++--- drivers/firmware/efi/arm-runtime.c | 2 +- drivers/firmware/efi/cper.c | 19 +++++++++++++++++++ drivers/firmware/efi/efi-init.c | 19 ++++++++++--------- drivers/firmware/efi/libstub/Makefile | 4 ++-- drivers/firmware/efi/libstub/alignedmem.c | 1 + drivers/firmware/efi/libstub/efistub.h | 3 ++- drivers/firmware/efi/libstub/kaslr.c | 2 +- drivers/firmware/efi/libstub/randomalloc.c | 12 +++++++----- drivers/firmware/efi/libstub/x86-stub.c | 25 +++++++++++++++---------- drivers/firmware/efi/libstub/x86-stub.h | 4 ++-- drivers/firmware/efi/libstub/zboot.c | 2 +- drivers/firmware/efi/riscv-runtime.c | 2 +- include/linux/cper.h | 23 +++++++++++++++++++++++ 17 files changed, 97 insertions(+), 73 deletions(-)