efistub/x86 changes for secure boot
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | arm64: efi: Limit allocations to 48-bit addressable physical regionarch/ drivers/ drivers/ +3 more | +13 | 0 replies | |
| 2/18 | efi: efivars: prevent double registrationdrivers/ | +11 | 0 replies | |
| 3/18 | x86/efistub: Simplify and clean up handover entry codeDocumentation/ arch/ arch/ +2 more | +31 | 0 replies | |
| 4/18 | x86/decompressor: Avoid magic offsets for EFI handover entrypointarch/ arch/ | +19 | 0 replies | |
| 5/18 | x86/efistub: Clear BSS in EFI handover protocol entrypointarch/ drivers/ | +24 | 0 replies | |
| 6/18 | x86/decompressor: Move global symbol references to C codearch/ arch/ arch/ | +11 | 0 replies | |
| 7/18 | efi/libstub: Add memory attribute protocol definitionsarch/ drivers/ include/ | +28 | 0 replies | |
| 8/18 | efi/libstub: Add limit argument to efi_random_alloc()drivers/ drivers/ drivers/ | +8 | 0 replies | |
| 9/18 | x86/efistub: Perform 4/5 level paging switch from the stubdrivers/ drivers/ drivers/ +3 more | +130 | 0 replies | |
| 10/18 | x86/decompressor: Factor out kernel decompression and relocationarch/ arch/ | +32 | 0 replies | |
| 11/18 | x86/efistub: Prefer EFI memory attributes protocol over DXE servicesdrivers/ | +21 | 0 replies | |
| 12/18 | x86/efistub: Perform SNP feature test while running in the firmwarearch/ arch/ drivers/ | +88 | 0 replies | |
| 13/18 | x86/efistub: Avoid legacy decompressor when doing EFI bootarch/ arch/ arch/ +4 more | +84 | 0 replies | |
| 14/18 | efi/x86: Avoid physical KASLR on older Dell systemsdrivers/ | +24 | 0 replies | |
| 15/18 | x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDRdrivers/ drivers/ drivers/ +1 more | +11 | 0 replies | |
| 16/18 | x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr'arch/ arch/ arch/ +6 more | +45 | 0 replies | |
| 17/18 | x86/boot: efistub: Assign global boot_params variabledrivers/ | +2 | 0 replies | |
| 18/18 | efi/x86: Fix the missing KASLR_FLAG bit in boot_params->hdr.loadflagsdrivers/ | +2 | 0 replies |
Reviews trailers per patch
1 of 18 patches has a Reviewed-by or Acked-by.
| Patch | Mario Limonciello | Kirill A. Shutemov |
|---|---|---|
| 1/18 | ||
| 2/18 | ||
| 3/18 | ||
| 4/18 | ||
| 5/18 | ||
| 6/18 | ||
| 7/18 | T-b | |
| 8/18 | ||
| 9/18 | A-b | |
| 10/18 | ||
| 11/18 | ||
| 12/18 | ||
| 13/18 | ||
| 14/18 | ||
| 15/18 | ||
| 16/18 | ||
| 17/18 | ||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH stable-v6.1 00/18] efistub/x86 changes for secure boot
From: Ard Biesheuvel <[email protected]>
These are the remaining patches that bring v6.1 in sync with v6.6 in terms of support for 4k section alignment and strict separation of executable and writable mappings. More details in [0].
[0] https://lkml.kernel.org/r/CAMj1kXE5y%2B6Fef1SqsePO1p8eGEL_qKR9ZkNPNKb-y6P8-7YmQ%40mail.gmail.com
Ard Biesheuvel (15):
arm64: efi: Limit allocations to 48-bit addressable physical region x86/efistub: Simplify and clean up handover entry code x86/decompressor: Avoid magic offsets for EFI handover entrypoint x86/efistub: Clear BSS in EFI handover protocol entrypoint x86/decompressor: Move global symbol references to C code efi/libstub: Add limit argument to efi_random_alloc() x86/efistub: Perform 4/5 level paging switch from the stub x86/decompressor: Factor out kernel decompression and relocation x86/efistub: Prefer EFI memory attributes protocol over DXE services x86/efistub: Perform SNP feature test while running in the firmware x86/efistub: Avoid legacy decompressor when doing EFI boot efi/x86: Avoid physical KASLR on older Dell systems x86/efistub: Avoid placing the kernel below LOAD_PHYSICAL_ADDR x86/boot: Rename conflicting 'boot_params' pointer to
'boot_params_ptr'
x86/boot: efistub: Assign global boot_params variable
Evgeniy Baskov (1):
efi/libstub: Add memory attribute protocol definitions
Johan Hovold (1):
efi: efivars: prevent double registration
Yuntao Wang (1):
efi/x86: Fix the missing KASLR_FLAG bit in boot_params->hdr.loadflags
Documentation/x86/boot.rst | 2 +- arch/arm64/include/asm/efi.h | 1 + arch/x86/boot/compressed/Makefile | 5 + arch/x86/boot/compressed/acpi.c | 14 +- arch/x86/boot/compressed/cmdline.c | 4 +- arch/x86/boot/compressed/efi_mixed.S | 107 +++---- arch/x86/boot/compressed/head_32.S | 32 --- arch/x86/boot/compressed/head_64.S | 63 +---- arch/x86/boot/compressed/ident_map_64.c | 7 +- arch/x86/boot/compressed/kaslr.c | 26 +- arch/x86/boot/compressed/misc.c | 69 +++-- arch/x86/boot/compressed/misc.h | 1 - arch/x86/boot/compressed/pgtable_64.c | 9 +- arch/x86/boot/compressed/sev.c | 114 ++++---- arch/x86/include/asm/boot.h | 10 + arch/x86/include/asm/efi.h | 14 +- arch/x86/include/asm/sev.h | 7 + drivers/firmware/efi/libstub/Makefile | 1 + drivers/firmware/efi/libstub/alignedmem.c | 2 + drivers/firmware/efi/libstub/arm64-stub.c | 7 +- drivers/firmware/efi/libstub/efi-stub-helper.c | 2 + drivers/firmware/efi/libstub/efistub.h | 28 +- drivers/firmware/efi/libstub/mem.c | 2 + drivers/firmware/efi/libstub/randomalloc.c | 14 +- drivers/firmware/efi/libstub/x86-5lvl.c | 95 +++++++ drivers/firmware/efi/libstub/x86-stub.c | 295 +++++++++++--------- drivers/firmware/efi/libstub/x86-stub.h | 17 ++ drivers/firmware/efi/vars.c | 13 +- include/linux/efi.h | 1 + 29 files changed, 560 insertions(+), 402 deletions(-) create mode 100644 drivers/firmware/efi/libstub/x86-5lvl.c create mode 100644 drivers/firmware/efi/libstub/x86-stub.h
Signature · 1 line
2.44.0.278.ge034bb2e1d-goog