Skip to contentSkip to conversation

x86/build changes for v6.9

GIT PULL Merged Ingo Molnar 2 participants 2 messages Mar 11, 2024 – Mar 12, 2024

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86/build git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-2024-03-11

# HEAD: 103bf75fc928d16185feb216bda525b5aaca0b18 x86: Do not include <asm/bootparam.h> in several files

x86/build changes for v6.9:

- Reduce <asm/bootparam.h> dependencies
- Simplify <asm/efi.h>
- Unify *_setup_data definitions into <asm/setup_data.h>
- Reduce the size of <asm/bootparam.h>

Thanks,

Ingo

------------------>
Thomas Zimmermann (4):
x86/setup: Move UAPI setup structures into setup_data.h x86/setup: Move internal setup_data structures into setup_data.h x86/efi: Implement arch_ima_efi_boot_mode() in source file
x86: Do not include <asm/bootparam.h> in several files

 arch/x86/Makefile                      |  3 ++
 arch/x86/boot/compressed/acpi.c        |  2 +
 arch/x86/boot/compressed/cmdline.c     |  2 +
 arch/x86/boot/compressed/efi.c         |  2 +
 arch/x86/boot/compressed/efi.h         |  9 ----
 arch/x86/boot/compressed/pgtable_64.c  |  1 +
 arch/x86/boot/compressed/sev.c         |  1 +
 arch/x86/include/asm/efi.h             | 14 ++----
 arch/x86/include/asm/kexec.h           |  1 -
 arch/x86/include/asm/mem_encrypt.h     |  2 +-
 arch/x86/include/asm/pci.h             | 13 ------
 arch/x86/include/asm/setup_data.h      | 32 +++++++++++++
 arch/x86/include/asm/sev.h             |  3 +-
 arch/x86/include/asm/x86_init.h        |  2 -
 arch/x86/include/uapi/asm/bootparam.h  | 72 +----------------------------
 arch/x86/include/uapi/asm/setup_data.h | 83 ++++++++++++++++++++++++++++++++++
 arch/x86/kernel/crash.c                |  1 +
 arch/x86/kernel/sev-shared.c           |  2 +
 arch/x86/platform/efi/efi.c            |  5 ++
 arch/x86/platform/pvh/enlighten.c      |  1 +
 arch/x86/xen/enlighten_pvh.c           |  1 +
 arch/x86/xen/vga.c                     |  1 -
 22 files changed, 143 insertions(+), 110 deletions(-)
 create mode 100644 arch/x86/include/asm/setup_data.h
 create mode 100644 arch/x86/include/uapi/asm/setup_data.h