Johan Hovold cea37afd28 serial: stm32: defer sysrq processing
Use the uart_unlock_and_check_sysrq() helper to defer sysrq processing
until receive processing is done and the port lock has been released.

This allows cleaning up the console_write() implementation by not having
to work around the recursive sysrq case (by dropping locking completely)
and also makes the console code work with PREEMPT_RT by no longer
relying on local_irq_save().

Reviewed-by: Valentin Caron<valentin.caron@foss.st.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210416140557.25177-4-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-22 12:04:26 +02:00
..
2021-03-28 14:16:47 +02:00
2021-04-09 17:00:32 +02:00
2021-03-10 09:34:06 +01:00
2020-06-27 16:21:20 +02:00
2021-04-15 10:32:17 +02:00
2021-04-15 10:32:17 +02:00
2021-03-10 09:34:06 +01:00
2021-03-10 09:34:06 +01:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:22:17 +02:00
2021-04-15 10:32:17 +02:00