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

From: Johan Hovold
Date: Fri Apr 16 2021 - 10:11:42 EST


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(-)

--
2.26.3