[PATCH tty v10 0/2] Convert 8250 to NBCON, take 2

From: John Ogness

Date: Mon Jul 27 2026 - 11:06:47 EST


Hi,

This is v10 of a series to convert the 8250 driver to an NBCON
console, providing both threaded and atomic printing
implementations. v9 of this series is here [0].

Note that v5 was pulled into the 6.14 merge window, but was
then reverted before the 6.14-rc1 release due to kernel test
robot problems. It turned out that the problems were related
to general 8250 driver issues. Those issues have now been
addressed mainline, paving the way for a second take at
converting the 8250 driver to NBCON.

The changes since v9:

- In serial8250_fifo_wait_for_lsr_thre(), always exit the
unsafe section, regardless of wait_for_lsr() results.

John Ogness

[0] https://lore.kernel.org/lkml/20260724103654.133654-1-john.ogness@xxxxxxxxxxxxx

John Ogness (2):
serial: 8250: Switch to nbcon console, take 2
Revert "serial: 8250: drop lockdep annotation from
serial8250_clear_IER()"

drivers/tty/serial/8250/8250.h | 4 +-
drivers/tty/serial/8250/8250_core.c | 65 +++++++--
drivers/tty/serial/8250/8250_dw.c | 2 +-
drivers/tty/serial/8250/8250_port.c | 210 +++++++++++++++++++++++-----
include/linux/serial_8250.h | 16 ++-
5 files changed, 245 insertions(+), 52 deletions(-)


base-commit: a5339effdd523b4b3502fba5358d44e83c76a565
--
2.47.3