XHCI console works fine with UEFI boot, as Xen doesn't relocate itself. But on
legacy boot, relocation is a problem, as the hardware is programmed with
physical addresses of structures that are moved. Fix this by adding new console
init hooks. This series includes also few minor improvements that were useful
when working on the fix.
Marek Marczykowski-Górecki (5):
console: add relocation hook
drivers/char: Handle Xen relocation in the XHCI console driver
drivers/char: make dbc_uart_dump() a bit more useful
drivers/char: remove outdated comment in xhci driver
console: support multiple serial console simultaneously
docs/misc/xen-command-line.pandoc | 4 +-
xen/arch/x86/setup.c | 8 ++-
xen/drivers/char/Kconfig | 11 +++-
xen/drivers/char/console.c | 108 ++++++++++++++++++++++++-------
xen/drivers/char/serial.c | 18 +++++-
xen/drivers/char/xhci-dbc.c | 98 +++++++++++++++++++---------
xen/include/xen/console.h | 2 +-
xen/include/xen/serial.h | 7 ++-
8 files changed, 204 insertions(+), 52 deletions(-)
base-commit: 7ab4b392b78b5ac1c7a1fb1d085637526e67521a
--
git-series 0.9.1