lkml.org 
[lkml]   [2019]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/7] x86/boot: Enable earlyprintk for HS UARTs
Date
Newer Intel platforms sometimes have only HS UART enabled and
accessible via MMIO on high addresses.

For now, earlyprintk doesn't handle such cases and always rely
on the legacy serial port to be present.

This series fills the gap and enables earlyprintk on HS UARTs.

Since v2:
- rebase on top of v5.1-rc1
- parse 'mmio' keyword instead of port range check (Ingo)
- deduplicate code wherever it's possible (Ingo)

Andy Shevchenko (7):
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: Add MMIO byte accessors
x86/boot: Introduce MMIO accessors and their support in earlyprintk
x86/boot: Support nocfg parameter for earlyprintk

arch/x86/boot/boot.h | 16 ++-
.../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 | 135 ++++++++++++++----
arch/x86/boot/tty.c | 9 +-
6 files changed, 140 insertions(+), 37 deletions(-)

--
2.20.1

\
 
 \ /
  Last update: 2019-03-19 19:44    [W:0.174 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site