]> 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, 26 Mar 2025 10:20:06 +0000 (10:20 +0000)
commita99ce1b0e3fa9fc5790d3c772d0e271890c0dcb3
tree33eebbdccf966b6ac7e8e63d185b4dc4b5571c77
parenta045c4ab808b743bc6e7d8d152392b68e2ee7c0e
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