Skip to content

serial: qcom-geni: fix receiver enable

Johan Hovold linux-arm-msm linux-serial lkml stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 5 repliesIn review
  2. v27 patches 20 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- fix polled console initialisation
- revert broken hibernation support
- rename suspend PM ops

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9serial: qcom-geni: fix polled console initialisationdrivers/tty/serial/qcom_geni_serial.c+19 -11 reply
2/9serial: qcom-geni: revert broken hibernation supportdrivers/tty/serial/qcom_geni_serial.c+2 -390 replies
3/9serial: qcom-geni: fix shutdown racedrivers/tty/serial/qcom_geni_serial.c+2 -02 replies
4/9serial: qcom-geni: fix dma rx cancellationdrivers/tty/serial/qcom_geni_serial.c+14 -40 replies
5/9serial: qcom-geni: fix receiver enabledrivers/tty/serial/qcom_geni_serial.c+6 -41 reply
6/9serial: qcom-geni: fix rx cancel dma status bitinclude/linux/soc/qcom/geni-se.h+1 -10 replies
7/9serial: qcom-geni: drop flip buffer WARN()drivers/tty/serial/qcom_geni_serial.c+2 -30 replies
8/9serial: qcom-geni: drop unused receive parameterdrivers/tty/serial/qcom_geni_serial.c+2 -20 replies
9/9serial: qcom-geni: rename suspend functionsdrivers/tty/serial/qcom_geni_serial.c+3 -41 reply

Reviews trailers per patch

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

PatchBartosz GolaszewskiDouglas Anderson
1/9R-b
2/9
3/9R-b R-b
4/9
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/9] serial: qcom-geni: fix receiver enable

This series is a follow up to the console fixes in 6.12-rc1 that can interact badly with some pre-existing bugs.

Specifically, the receiver could end up being disabled when set_termios() races with the console code during boot. This can manifest itself as a serial getty not accepting input.

Fixing the missing locking in set_termios() exposes another long-standing bug in the DMA implementation (e.g. used for Bluetooth), which is also fixed.

Johan

Changes in v3
- fix polled console initialisation
- revert broken hibernation support
- rename suspend PM ops

Changes in v2
- keep the call to stop rx in shutdown() which is called also on hangups
- fix rx dma cancellation
- fix rx cancel dma status bit
- drop flip buffer WARN()
- drop unused receive parameter

Johan Hovold (9):
serial: qcom-geni: fix polled console initialisation
serial: qcom-geni: revert broken hibernation support
serial: qcom-geni: fix shutdown race
serial: qcom-geni: fix dma rx cancellation
serial: qcom-geni: fix receiver enable
serial: qcom-geni: fix rx cancel dma status bit
serial: qcom-geni: drop flip buffer WARN()
serial: qcom-geni: drop unused receive parameter
serial: qcom-geni: rename suspend functions

 drivers/tty/serial/qcom_geni_serial.c | 103 ++++++++++++--------------
 include/linux/soc/qcom/geni-se.h      |   2 +-
 2 files changed, 49 insertions(+), 56 deletions(-)
Signature · 1 line
2.45.2