Skip to content

serial: sysrq cleanup and stm32 fixes

Johan Hovold linux-serial lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: do not restore interrupt state in sysrq helperdrivers/tty/serial/8250/8250_aspeed_vuart.c drivers/tty/serial/8250/8250_fsl.c drivers/tty/serial/8250/8250_omap.c +3 more+22 -220 replies
2/3serial: stm32: fix threaded interrupt handlingdrivers/tty/serial/stm32-usart.c+12 -103 replies
3/3serial: stm32: defer sysrq processingdrivers/tty/serial/stm32-usart.c+6 -101 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchValentin Caron
1/3
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] serial: sysrq cleanup and stm32 fixes

The first patch cleans up the interrupt handlers that rely on deferred sysrq processing by not needlessly saving the interrupt state.

The second fixes the threaded interrupt handling of the stm32 driver and properly fixes a couple of deadlocks that were incidentally worked around by a recent commit.

The third patch cleans up the stm32 console implementation by switching to deferred sysrq processing, thereby making the console code more robust and allowing it to be used with PREEMPT_RT.

This series is against tty-next and and have only been compile tested.

Johan

Johan Hovold (3):
serial: do not restore interrupt state in sysrq helper
serial: stm32: fix threaded interrupt handling
serial: stm32: defer sysrq processing

 drivers/tty/serial/8250/8250_aspeed_vuart.c |  5 ++-
 drivers/tty/serial/8250/8250_fsl.c          | 11 ++++---
 drivers/tty/serial/8250/8250_omap.c         |  6 ++--
 drivers/tty/serial/8250/8250_port.c         |  6 ++--
 drivers/tty/serial/qcom_geni_serial.c       |  6 ++--
 drivers/tty/serial/stm32-usart.c            | 36 ++++++++++-----------
 include/linux/serial_core.h                 | 10 +++---
 7 files changed, 39 insertions(+), 41 deletions(-)
Signature · 1 line
2.26.3