Skip to content

serial: qcom-geni: fix console corruption

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 3 repliesIn review
  2. v18 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- determine poll timeout in set_termios() and avoid hard coding fifo size in calculation
- move fifo drain helper under console ifdef to avoid an unused function warning as reported by the kernel test robot
- drop a redundant active check from fifo drain helper

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8serial: qcom-geni: fix fifo polling timeoutdrivers/tty/serial/qcom_geni_serial.c+17 -141 reply
2/8serial: qcom-geni: fix false console tx restartdrivers/tty/serial/qcom_geni_serial.c+3 -100 replies
3/8soc: qcom: geni-se: add GP_LENGTH/IRQ_EN_SET/IRQ_EN_CLEAR registersinclude/linux/soc/qcom/geni-se.h+9 -00 replies
4/8serial: qcom-geni: fix arg types for qcom_geni_serial_poll_bit()drivers/tty/serial/qcom_geni_serial.c+1 -10 replies
5/8serial: qcom-geni: introduce qcom_geni_serial_poll_bitfield()drivers/tty/serial/qcom_geni_serial.c+9 -30 replies
6/8serial: qcom-geni: fix console corruptiondrivers/tty/serial/qcom_geni_serial.c+22 -230 replies
7/8serial: qcom-geni: disable interrupts during console writesdrivers/tty/serial/qcom_geni_serial.c+9 -00 replies
8/8serial: qcom-geni: fix polled console corruptiondrivers/tty/serial/qcom_geni_serial.c+18 -90 replies

Reviews trailers per patch

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

PatchNícolas F. R. A. PradoDouglas AndersonBjorn AnderssonKonrad Dybcio
1/8T-b R-b
2/8T-b R-b
3/8T-b A-b
4/8T-b R-b
5/8T-b R-b
6/8T-b R-b
7/8T-b R-b
8/8T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/8] serial: qcom-geni: fix console corruption

This series is a follow-on series to the lockup fixes [1] that addresses a number of issues in the Qualcomm GENI console code, including corrupt console output during boot, which is a problem for automated CI testing.

Johan

[1] https://lore.kernel.org/lkml/[email protected]/

Changes in v2
- determine poll timeout in set_termios() and avoid hard coding fifo size in calculation
- move fifo drain helper under console ifdef to avoid an unused function warning as reported by the kernel test robot
- drop a redundant active check from fifo drain helper

Douglas Anderson (3):
soc: qcom: geni-se: add GP_LENGTH/IRQ_EN_SET/IRQ_EN_CLEAR registers
serial: qcom-geni: fix arg types for qcom_geni_serial_poll_bit()
serial: qcom-geni: introduce qcom_geni_serial_poll_bitfield()

Johan Hovold (5):
serial: qcom-geni: fix fifo polling timeout
serial: qcom-geni: fix false console tx restart
serial: qcom-geni: fix console corruption
serial: qcom-geni: disable interrupts during console writes
serial: qcom-geni: fix polled console corruption

 drivers/tty/serial/qcom_geni_serial.c | 137 +++++++++++++++-----------
 include/linux/soc/qcom/geni-se.h      |   9 ++
 2 files changed, 87 insertions(+), 59 deletions(-)
Signature · 1 line
2.44.2