public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH tty v2 0/2] 8250: Add console flow control
@ 2026-04-10 14:48 John Ogness
  2026-04-10 14:48 ` [PATCH tty v2 1/2] serial: 8250: Check LSR timeout on " John Ogness
  2026-04-10 14:48 ` [PATCH tty v2 2/2] serial: 8250: Add support for console hardware " John Ogness
  0 siblings, 2 replies; 3+ messages in thread
From: John Ogness @ 2026-04-10 14:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-kernel, Ilpo Järvinen, Andy Shevchenko, linux-serial,
	Ingo Molnar, Thomas Gleixner, Osama Abdelkader, Andy Shevchenko,
	Jiayuan Chen, Gerhard Engleder, Dr. David Alan Gilbert,
	Joseph Tilahun

Hi,

This is v2 of a series to implement console flow control for the
8250 serial driver. v1 is here [0].

The 8250 driver already has code in place to support console flow
control. However, there is no way to activate it and it is
incomplete. This series provides the necessary missing pieces while
attempting to be as conservative as possible, so as not to introduce
any side effects into the many 8250 variants or other non-8250 serial
drivers.

Changes since v1:

- Prepend a patch to perform an extra LSR wait after CTS assertion if
  the initial LSR wait timed out.

- Close a window in serial8250_register_8250_port() where console
  flow control was briefly disabled.

- Add port lock synchronization to the port->status RMW update in
  uart_set_options().

John Ogness

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

John Ogness (2):
  serial: 8250: Check LSR timeout on console flow control
  serial: 8250: Add support for console hardware flow control

 drivers/tty/serial/8250/8250_core.c |  6 +++++-
 drivers/tty/serial/8250/8250_port.c | 22 ++++++++++++++++++----
 drivers/tty/serial/serial_core.c    | 21 ++++++++++++++++++++-
 include/linux/serial_core.h         |  8 ++++++++
 4 files changed, 51 insertions(+), 6 deletions(-)


base-commit: a1a81aef99e853dec84241d701fbf587d713eb5b
-- 
2.47.3


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

end of thread, other threads:[~2026-04-10 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 14:48 [PATCH tty v2 0/2] 8250: Add console flow control John Ogness
2026-04-10 14:48 ` [PATCH tty v2 1/2] serial: 8250: Check LSR timeout on " John Ogness
2026-04-10 14:48 ` [PATCH tty v2 2/2] serial: 8250: Add support for console hardware " John Ogness

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox