Skip to content

x86/boot: Enable earlyprintk on MMIO (8-bit)

Andy Shevchenko lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/boot: Convert early_serial_base to unsigned longarch/x86/boot/boot.h arch/x86/boot/compressed/early_serial_console.c arch/x86/boot/compressed/misc.h +2 more+8 -80 replies
2/6x86/boot: Introduce helpers for serial I/Oarch/x86/boot/boot.h arch/x86/boot/compressed/early_serial_console.c arch/x86/boot/compressed/misc.c +3 more+61 -220 replies
3/6x86/boot: Split out parse_serial_port() helper for earlyprintkarch/x86/boot/early_serial_console.c+15 -50 replies
4/6x86/boot: Allow longer parameter list for earlyprintkarch/x86/boot/early_serial_console.c+1 -10 replies
5/6x86/boot: Also share MMIO accessorsarch/x86/include/asm/io.h arch/x86/include/asm/shared/io.h+68 -650 replies
6/6x86/boot: Introduce MMIO accessors and their support in earlyprintkarch/x86/boot/early_serial_console.c+25 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/6] x86/boot: Enable earlyprintk on MMIO (8-bit)

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(-)
Signature · 1 line
2.47.2