]> 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, 15 Jan 2025 12:36:08 +0000 (12:36 +0000)
commit8554a40bd8f38281f7d2ca9654edc1a5f43a2b5e
treefc823c2906e9f7e8a146b9243e221e0cce9ae634
parent3d8ea5d45b0a2079e58cd0c72e0a1ac28fd431ca
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