mirror-linux/arch/x86/boot/startup
Ard Biesheuvel 1f6113ae5a x86/boot: Drop erroneous __init annotation from early_set_pages_state()
The kexec code will call set_pages_state() after tearing down all the GHCBs,
which will therefore result in a call to early_set_pages_state().

This means the __init annotation is wrong, and must be dropped.

Fixes: c5c30a3736 ("x86/boot: Move startup code out of __head section")
Reported-by: Srikanth Aithal <Srikanth.Aithal@amd.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Srikanth Aithal <Srikanth.Aithal@amd.com>
2025-09-24 18:08:34 +02:00
..
Makefile x86/boot: Create a confined code area for startup code 2025-09-03 18:00:01 +02:00
efi-mixed.S
exports.h x86/sev: Export startup routines for later use 2025-09-03 17:59:49 +02:00
gdt_idt.c x86/boot: Move startup code out of __head section 2025-09-03 18:06:04 +02:00
la57toggle.S
map_kernel.c x86/boot: Move startup code out of __head section 2025-09-03 18:06:04 +02:00
sev-shared.c x86/startup/sev: Document the CPUID flow in the boot #VC handler 2025-09-10 17:23:24 +02:00
sev-startup.c x86/boot: Drop erroneous __init annotation from early_set_pages_state() 2025-09-24 18:08:34 +02:00
sme.c x86/sev: Zap snp_abort() 2025-09-04 13:15:59 +02:00