[PATCH v2 0/3] serial: core: fix up sysrq regressions

From: Johan Hovold
Date: Wed Jun 10 2020 - 11:23:07 EST


This series fixes a few regressions introduced by the recent sysrq
rework that went into 5.6.

The fix for the unnecessary per-character overhead probably could have
been marked for stable but I left that decision to the maintainers as it
is a bit intrusive (although mostly shuffling code around).

Johan

Changes in v2
- inline uart_unlock_and_check_sysrq() along with the other helpers
(restoring the interrupt state in a helper was never an issue)


Johan Hovold (3):
Revert "serial: core: Refactor uart_unlock_and_check_sysrq()"
serial: core: fix sysrq overhead regression
serial: core: drop redundant sysrq checks

drivers/tty/serial/serial_core.c | 96 +----------------------------
include/linux/serial_core.h | 102 +++++++++++++++++++++++++++++--
2 files changed, 100 insertions(+), 98 deletions(-)

--
2.26.2