]> 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>
Fri, 14 Mar 2025 11:34:58 +0000 (11:34 +0000)
commit2114c5db3c6dc573e76391be19c3cde630fe63ff
treeef78728f014f10fec43f9ec9aa4cf96a1e8a0b34
parent2ff7380fa3af955d022445302f554453ecd55b10
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