From: David Woodhouse Date: Sun, 24 Nov 2024 15:30:18 +0000 (+0000) Subject: x86/kexec: Add CONFIG_KEXEC_DEBUG option X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=71ab65a0e5bfc01f502bbbb2e3a253c20c2aa461;p=users%2Fdwmw2%2Flinux.git x86/kexec: Add CONFIG_KEXEC_DEBUG option This does nothing yet. Signed-off-by: David Woodhouse --- diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 74777a97e394a..9dde32865a9b2 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug @@ -56,6 +56,14 @@ config EARLY_PRINTK_USB_XDBC You should normally say N here, unless you want to debug early crashes or need a very simple printk logging facility. +config KEXEC_DEBUG + bool "Debug kexec transition" + depends on KEXEC_CORE && EARLY_PRINTK + help + Faults during kexec can be difficult to debug. This installs exception + handlers and attempts to report faults through the same serial port as + used for early_printk. + config EFI_PGT_DUMP bool "Dump the EFI pagetable" depends on EFI