Skip to content

Serial: Two concurrency fixes & one related cleanup

Ilpo Järvinen linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: 8250: Fix __stop_tx() & DMA Tx restart racesdrivers/tty/serial/8250/8250_dma.c drivers/tty/serial/8250/8250_port.c+4 -40 replies
2/3serial: 8250_dw: Take port lock while accessing LSRdrivers/tty/serial/8250/8250_dw.c+3 -03 replies
3/3serial: 8250_dma: No need for if (dma->tx_err)drivers/tty/serial/8250/8250_dma.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Serial: Two concurrency fixes & one related cleanup

Here are two fixes to problem that have been introduced by recent changes. In addition, one cleanup patch to the related code (to keep the fix change strictly a fix).

Ilpo Järvinen (3):
serial: 8250: fix __stop_tx() & DMA Tx restart races
serial: 8250_dw: Take port lock while accessing LSR
serial: 8250_dma: No need for if (dma->tx_err)

 drivers/tty/serial/8250/8250_dma.c  | 7 +++----
 drivers/tty/serial/8250/8250_dw.c   | 3 +++
 drivers/tty/serial/8250/8250_port.c | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)
Signature · 1 line
2.30.2