]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/boot: Add a bunch of PIC aliases
authorArd Biesheuvel <ardb@kernel.org>
Sun, 4 May 2025 09:52:44 +0000 (11:52 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 4 May 2025 13:59:43 +0000 (15:59 +0200)
commit419cbaf6a56a6e4b7e6d2278302c197f55dec830
tree3caf5cd3d0a56eaa28ebe0095863f7cba48cba4f
parentf932adcc8650eb169efd0fd19f2a450c260d306c
x86/boot: Add a bunch of PIC aliases

Add aliases for all the data objects that the startup code references -
this is needed so that this code can be moved into its own confined area
where it can only access symbols that have a __pi_ prefix.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Dionna Amalie Glaze <dionnaglaze@google.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Kevin Loughlin <kevinloughlin@google.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: linux-efi@vger.kernel.org
Link: https://lore.kernel.org/r/20250504095230.2932860-39-ardb+git@google.com
12 files changed:
arch/x86/coco/core.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/head64.c
arch/x86/kernel/head_64.S
arch/x86/kernel/setup.c
arch/x86/kernel/vmlinux.lds.S
arch/x86/lib/memcpy_64.S
arch/x86/lib/memset_64.S
arch/x86/lib/retpoline.S
arch/x86/mm/mem_encrypt_amd.c
arch/x86/mm/pgtable.c
tools/objtool/arch/x86/decode.c