x86/boot: Enable earlyprintk for HS UARTs
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest7 patches 31 repliesIn review
Since v2 from the cover letter
- rebase on top of v5.1-rc1
- parse 'mmio' keyword instead of port range check (Ingo)
- deduplicate code wherever it's possible (Ingo)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86/boot: Convert early_serial_base to unsigned longarch/ arch/ arch/ +2 more | +8 | 3 replies | |
| 2/7 | x86/boot: Introduce helpers for serial I/Oarch/ arch/ arch/ +3 more | +61 | 8 replies | |
| 3/7 | x86/boot: Split out parse_serial_port() helper for earlyprintkarch/ | +15 | 8 replies | |
| 4/7 | x86/boot: Allow longer parameter list for earlyprintkarch/ | +1 | 0 replies | |
| 5/7 | x86/boot: Add MMIO byte accessorsarch/ | +12 | 0 replies | |
| 6/7 | x86/boot: Introduce MMIO accessors and their support in earlyprintkarch/ | +25 | 0 replies | |
| 7/7 | x86/boot: Support nocfg parameter for earlyprintkarch/ | +21 | 12 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] x86/boot: Enable earlyprintk for HS UARTs
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(-)
Signature · 1 line
2.20.1