aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kexec.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2025-03-26 14:16:01 +0000
committerIngo Molnar <mingo@kernel.org>2025-04-10 12:17:13 +0200
commitd358b45120cc8da9f10d8c1e8ec3559f72525147 (patch)
treec9c8a27bce4e93f11a3c45c3100c490732e97b77 /arch/x86/include/asm/kexec.h
parentx86: Remove __FORCE_ORDER workaround (diff)
downloadlinux-d358b45120cc8da9f10d8c1e8ec3559f72525147.tar.gz
linux-d358b45120cc8da9f10d8c1e8ec3559f72525147.zip
x86/kexec: Add 8250 serial port output
If a serial port was configured for early_printk, use it for debug output from the relocate_kernel exception handler too. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Brian Gerst <brgerst@gmail.com> Cc: Juergen Gross <jgross@suse.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Kees Cook <keescook@chromium.org> Cc: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250326142404.256980-2-dwmw2@infradead.org
Diffstat (limited to 'arch/x86/include/asm/kexec.h')
-rw-r--r--arch/x86/include/asm/kexec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm/kexec.h
index fb4537c58b54..9601094ac0ba 100644
--- a/arch/x86/include/asm/kexec.h
+++ b/arch/x86/include/asm/kexec.h
@@ -64,6 +64,7 @@ extern unsigned long kexec_pa_table_page;
extern unsigned long kexec_pa_swap_page;
extern gate_desc kexec_debug_idt[];
extern unsigned char kexec_debug_exc_vectors[];
+extern uint16_t kexec_debug_8250_port;
#endif
/*