[PATCH v1 0/6] x86/boot: Enable earlyprintk on MMIO (8-bit)
From: Andy Shevchenko
Date: Fri May 02 2025 - 08:33:50 EST
Some of the platforms may have no legacy COM ports and only provide
an MMIO accessible UART. Add support for such to earlyprintk for the
boot phase of the kernel.
Andy Shevchenko (6):
x86/boot: Convert early_serial_base to unsigned long
x86/boot: Introduce helpers for serial I/O
x86/boot: Split out parse_serial_port() helper for earlyprintk
x86/boot: Allow longer parameter list for earlyprintk
x86/boot: Also share MMIO accessors
x86/boot: Introduce MMIO accessors and their support in earlyprintk
arch/x86/boot/boot.h | 4 +-
.../boot/compressed/early_serial_console.c | 5 +-
arch/x86/boot/compressed/misc.c | 4 +-
arch/x86/boot/compressed/misc.h | 8 +-
arch/x86/boot/early_serial_console.c | 114 ++++++++++++++----
arch/x86/boot/tty.c | 9 +-
arch/x86/include/asm/io.h | 65 ----------
arch/x86/include/asm/shared/io.h | 68 +++++++++++
8 files changed, 177 insertions(+), 100 deletions(-)
--
2.47.2