Skip to content

serial: Add uart_xmit_advance() + fixes part (of a larger patch series)

Ilpo Järvinen linux-serial linux-tegra lkml stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 1 replyIn review
  2. v2 posting 1/23 patches 5 repliesSuperseded
  3. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Correct tags

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: Create uart_xmit_advance()include/linux/serial_core.h+17 -00 replies
2/3serial: tegra: Use uart_xmit_advance(), fixes icount.tx accountingdrivers/tty/serial/serial-tegra.c+2 -30 replies
3/3serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accountingdrivers/tty/serial/tegra-tcu.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAndy ShevchenkoThierry Reding
1/3R-b
2/3R-b
3/3R-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 RESEND 0/3] serial: Add uart_xmit_advance() + fixes part (of a larger patch series)

Add uart_xmit_advance() helper to handle circular xmit buffer advancement + accounting of Tx'ed bytes. Use it to fix a few drivers that previously lacked to accounting for DMA Tx.

v2:
- Correct tags

Ilpo Järvinen (3):
serial: Create uart_xmit_advance()
serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting

 drivers/tty/serial/serial-tegra.c |  5 ++---
 drivers/tty/serial/tegra-tcu.c    |  2 +-
 include/linux/serial_core.h       | 17 +++++++++++++++++
 3 files changed, 20 insertions(+), 4 deletions(-)
Signature · 1 line
2.30.2