]> Gentwo Git Trees - linux/.git/commit
x86/kexec: Add 8250 MMIO serial port output
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 26 Mar 2025 14:16:02 +0000 (14:16 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 10 Apr 2025 10:17:14 +0000 (12:17 +0200)
commit7516e7216bdfb9e2fab0a0ca3bd23cb2e61e46ed
treeb35df9d0213d84e88ca2221f97c72eef1be0dfa3
parentd358b45120cc8da9f10d8c1e8ec3559f72525147
x86/kexec: Add 8250 MMIO serial port output

This supports the same 32-bit MMIO-mapped 8250 as the early_printk code.

It's not clear why the early_printk code supports this form and only this
form; the actual runtime 8250_pci doesn't seem to support it. But having
hacked up QEMU to expose such a device, early_printk does work with it,
and now so does the kexec debug code.

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-3-dwmw2@infradead.org
arch/x86/include/asm/kexec.h
arch/x86/kernel/early_printk.c
arch/x86/kernel/machine_kexec_64.c
arch/x86/kernel/relocate_kernel_64.S