diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2024-03-01 22:45:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-02 22:06:21 +0100 |
commit | 32c694ec3efc2b7cdf921da50371297ba70e7d50 (patch) | |
tree | bce005423c4c46b9543ae711845df45ae829f91a /fs/ntfs3 | |
parent | serial: rda: Use uart_prepare_sysrq_char() to handle sysrq. (diff) | |
download | linux-32c694ec3efc2b7cdf921da50371297ba70e7d50.tar.xz linux-32c694ec3efc2b7cdf921da50371297ba70e7d50.zip |
serial: sifive: Use uart_prepare_sysrq_char() to handle sysrq.
The port lock is a spinlock_t which is becomes a sleeping lock on PREEMPT_RT.
The driver splits the locking function into two parts: local_irq_save() and
uart_port_lock() and this breaks PREEMPT_RT.
Handle sysrq requests sysrq once the port lock is dropped.
Remove the special case in the console write routine an always use the
complete locking function.
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: linux-riscv@lists.infradead.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20240301215246.891055-13-bigeasy@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ntfs3')
0 files changed, 0 insertions, 0 deletions