]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/kexec: Add 8250 MMIO serial port output
authorDavid Woodhouse <dwmw@amazon.co.uk>
Thu, 28 Nov 2024 19:46:42 +0000 (19:46 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 12 Mar 2025 13:58:39 +0000 (13:58 +0000)
commit2ed69608c6d5065a88cff66851520d7dd04e972f
tree672c05df46e58593f66c9604afa53ec1a1a3702a
parentd06df8671875384784c4dcb881dea831b3520f08
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>
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