[PATCH tty v2 0/2] 8250: Add console flow control

John Ogness posted 2 patches 2 months ago
There is a newer version of this series
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(-)
[PATCH tty v2 0/2] 8250: Add console flow control
Posted by John Ogness 2 months ago
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