Skip to content

tty: TX helpers

Jiri Slaby linux-arm-kernel linux-riscv linux-serial lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 15 repliesIn review
  2. v34 patches 18 repliesSuperseded
  3. v23 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches6 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tty: serial: move and cleanup vt8500_tx_empty()drivers/tty/serial/vt8500_serial.c+8 -71 reply
2/10tty: serial: clean up stop-tx part in altera_uart_tx_chars()drivers/tty/serial/altera_uart.c+2 -42 replies
3/10tty: serial: altera_uart_{r,t}x_chars() need only uart_portdrivers/tty/serial/altera_uart.c+4 -62 replies
4/10tty: serial: extract lqasc_tx_ready() from lqasc_tx_chars()drivers/tty/serial/lantiq.c+8 -21 reply
5/10tty: serial: extract tx_ready() from __serial_lpc32xx_tx()drivers/tty/serial/lpc32xx_hs.c+8 -21 reply
6/10tty: serial: switch mpc52xx_uart_int_{r,t}x_chars() to booldrivers/tty/serial/mpc52xx_uart.c+9 -91 reply
7/10tty: serial: extract serial_omap_put_char() from transmit_chars()drivers/tty/serial/omap-serial.c+11 -91 reply
8/10tty: serial: introduce transmit helpersDocumentation/driver-api/serial/driver.rst include/linux/serial_core.h+83 -01 reply
9/10tty: serial: use uart_port_tx() helperdrivers/tty/serial/altera_uart.c drivers/tty/serial/atmel_serial.c drivers/tty/serial/fsl_lpuart.c +9 more+58 -3192 replies
10/10tty: serial: use uart_port_tx_limited()drivers/tty/serial/21285.c drivers/tty/serial/altera_jtaguart.c drivers/tty/serial/amba-pl010.c +11 more+87 -4212 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchIlpo JärvinenTobias Klauser
1/10R-b
2/10R-b A-b
3/10R-b A-b
4/10
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/10] tty: TX helpers

This series introduces uart_port_tx() + uart_port_tx_limited() TX helpers. See PATCH 8/10 for the details. Comments welcome.

First the series performs simple cleanups, so that the later patches are easier to follow.

Then it switches drivers to use them. First, to uart_port_tx() in 9/10 and then uart_port_tx_limited() in 10/10.

The diffstat of patches 9+10 is as follows:

 26 files changed, 145 insertions(+), 740 deletions(-)

which appears to be nice.

Cc Arnd Bergmann <[email protected]>
Cc Johan Hovold <[email protected]>
Cc "Russell King (Oracle)" <[email protected]>
Cc Ilpo Järvinen <[email protected]>

Jiri Slaby (10):
tty: serial: move and cleanup vt8500_tx_empty()
tty: serial: clean up stop-tx part in altera_uart_tx_chars()
tty: serial: altera_uart_{r,t}x_chars() need only uart_port
tty: serial: extract lqasc_tx_ready() from lqasc_tx_chars()
tty: serial: extract tx_ready() from __serial_lpc32xx_tx()
tty: serial: switch mpc52xx_uart_int_{r,t}x_chars() to bool
tty: serial: extract serial_omap_put_char() from transmit_chars()
tty: serial: introduce transmit helpers
tty: serial: use uart_port_tx() helper
tty: serial: use uart_port_tx_limited()

 Documentation/driver-api/serial/driver.rst |  3 +
 drivers/tty/serial/21285.c                 | 32 ++-------
 drivers/tty/serial/altera_jtaguart.c       | 40 +++--------
 drivers/tty/serial/altera_uart.c           | 41 +++--------
 drivers/tty/serial/amba-pl010.c            | 32 ++-------
 drivers/tty/serial/apbuart.c               | 34 ++-------
 drivers/tty/serial/atmel_serial.c          | 28 ++------
 drivers/tty/serial/bcm63xx_uart.c          | 47 +++----------
 drivers/tty/serial/fsl_lpuart.c            | 30 ++------
 drivers/tty/serial/lantiq.c                | 44 +++---------
 drivers/tty/serial/lpc32xx_hs.c            | 39 +++--------
 drivers/tty/serial/mcf.c                   | 28 ++------
 drivers/tty/serial/mpc52xx_uart.c          | 49 +++----------
 drivers/tty/serial/mps2-uart.c             | 26 ++-----
 drivers/tty/serial/mux.c                   | 45 ++++--------
 drivers/tty/serial/mvebu-uart.c            | 38 ++--------
 drivers/tty/serial/mxs-auart.c             | 32 +++------
 drivers/tty/serial/omap-serial.c           | 46 ++++---------
 drivers/tty/serial/owl-uart.c              | 32 ++-------
 drivers/tty/serial/pxa.c                   | 33 ++-------
 drivers/tty/serial/rp2.c                   | 31 ++-------
 drivers/tty/serial/sa1100.c                | 34 ++-------
 drivers/tty/serial/serial_txx9.c           | 32 ++-------
 drivers/tty/serial/sifive.c                | 31 ++-------
 drivers/tty/serial/sprd_serial.c           | 33 ++-------
 drivers/tty/serial/st-asc.c                | 48 ++-----------
 drivers/tty/serial/vt8500_serial.c         | 41 +++--------
 include/linux/serial_core.h                | 80 ++++++++++++++++++++++
 28 files changed, 264 insertions(+), 765 deletions(-)
Signature · 1 line
2.37.3