]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
x86/kexec: Add CONFIG_KEXEC_DEBUG option
authorDavid Woodhouse <dwmw@amazon.co.uk>
Sun, 24 Nov 2024 15:30:18 +0000 (15:30 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 5 Dec 2024 15:05:08 +0000 (15:05 +0000)
This does nothing yet.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/Kconfig.debug

index 74777a97e394aacfe11b824225df77bedf734734..9dde32865a9b2a95bd2ceac1dc806486780be2a7 100644 (file)
@@ -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