All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH tty v7 0/2] Convert 8250 to NBCON, take 2
@ 2026-07-20 13:54 John Ogness
  2026-07-20 13:54 ` [PATCH tty v7 1/2] serial: 8250: Switch to nbcon console, " John Ogness
  2026-07-20 13:54 ` [PATCH tty v7 2/2] serial: 8250: Revert "drop lockdep annotation from serial8250_clear_IER()" John Ogness
  0 siblings, 2 replies; 6+ messages in thread
From: John Ogness @ 2026-07-20 13:54 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: Andy Shevchenko, Petr Mladek, Sebastian Andrzej Siewior,
	linux-kernel, Ilpo Järvinen, Andy Shevchenko,
	Hugo Villeneuve, Kees Cook, Stepan Ionichev, Osama Abdelkader,
	Fushuai Wang, linux-serial, Jacques Nilo, Marco Felsch

Hi,

This is v7 of a series to convert the 8250 driver to an NBCON
console, providing both threaded and atomic printing
implementations. v6 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.

Based on Sashiko feedback, the changes since v6:

- Add irq_work_sync() calls to make sure there is no pending
  modem status work when suspending or unregistering the
  console.

- In the put_poll_char() callback, use __serial8250_clear_IER()
  because KDB/KGDB do not acquire the port lock to print.

- In serial8250_console_write(), re-enter unsafe section after
  printing text, even if ownership was _not_ lost. The final
  actions need to be performed within an unsafe section.

John Ogness

[0] https://lore.kernel.org/lkml/20260720103242.7265-1-john.ogness@linutronix.de

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

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


base-commit: 782f4dbd1794b4f30dc116a7ca42c5962c409be8
-- 
2.47.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-20 19:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20 13:54 [PATCH tty v7 0/2] Convert 8250 to NBCON, take 2 John Ogness
2026-07-20 13:54 ` [PATCH tty v7 1/2] serial: 8250: Switch to nbcon console, " John Ogness
2026-07-20 19:47   ` Andy Shevchenko
2026-07-20 13:54 ` [PATCH tty v7 2/2] serial: 8250: Revert "drop lockdep annotation from serial8250_clear_IER()" John Ogness
2026-07-20 14:03   ` Sebastian Andrzej Siewior
2026-07-20 19:43     ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.