Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'x86-urgent-2025-01-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Ingo Molnar:
"Fix a potential early boot crash in SEV-SNP guests, where certain
config and build environment combinations can generate absolute
references to symbols in the early boot code"

* tag 'x86-urgent-2025-01-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/sev: Disable jump tables in SEV startup code

+4
+4
arch/x86/coco/sev/Makefile
··· 2 2 3 3 obj-y += core.o 4 4 5 + # jump tables are emitted using absolute references in non-PIC code 6 + # so they cannot be used in the early SEV startup code 7 + CFLAGS_core.o += -fno-jump-tables 8 + 5 9 ifdef CONFIG_FUNCTION_TRACER 6 10 CFLAGS_REMOVE_core.o = -pg 7 11 endif