diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2024-03-02 00:45:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-03 00:06:21 +0300 |
commit | bb0b3142055d006431ac05663d38c069602b5967 (patch) | |
tree | 2c809b6a30b11a34b4e446c2cba45f7fb765305c /drivers/iommu | |
parent | 2af521486761f6f40ff00faa0cd3d52465dfd461 (diff) | |
download | linux-bb0b3142055d006431ac05663d38c069602b5967.tar.xz |
serial: rda: 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: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-unisoc@lists.infradead.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20240301215246.891055-12-bigeasy@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions