This does nothing yet. Support for x86_64 will follow in subsequent
commits, and an Arm64 version is also being worked on.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
config EARLY_PRINTK
bool "Early printk" if EXPERT
+ select HAVE_KEXEC_DEBUG if X86_64
default y
help
Write kernel log output directly into the VGA buffer or to a serial
config HAVE_IMA_KEXEC
bool
+config HAVE_KEXEC_DEBUG
+ bool
+
config KEXEC
bool "Enable kexec system call"
depends on ARCH_SUPPORTS_KEXEC
Jump between original kernel and kexeced kernel and invoke
code in physical address mode via KEXEC
+config KEXEC_DEBUG
+ bool "Debug kexec transition"
+ depends on HAVE_KEXEC_DEBUG
+ help
+ Faults during kexec can be difficult to debug. This installs exception
+ handlers and attempts to report faults. On x86_64 this would use the
+ serial port configured for earlyprintk.
+
config CRASH_DUMP
bool "kernel crash dumps"
default ARCH_DEFAULT_CRASH_DUMP