]> 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>
Thu, 5 Dec 2024 15:05:08 +0000 (15:05 +0000)
commit18e44a142a82ce40a759393bf1f8fbee0fd40fc7
tree44823efcb32261dac2d1c4784abc5facc9029298
parent48ff729646f48eaa6242043a3b8fdd171c3bef44
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