diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2024-03-01 21:45:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-02 21:06:22 +0000 |
| commit | d47dd323bf959dbf5f3e7f83373c8ed5f3bec9c0 (patch) | |
| tree | 6816020b0001ace93a08c4a691f56bb3eb701aed /drivers/cdx/controller/cdx_controller.c | |
| parent | serial: pch: Remove eg20t_port::lock. (diff) | |
| download | kernel-d47dd323bf959dbf5f3e7f83373c8ed5f3bec9c0.tar.gz kernel-d47dd323bf959dbf5f3e7f83373c8ed5f3bec9c0.zip | |
serial: pch: Use uart_prepare_sysrq_char().
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.
Delay handling sysrq until port lock is dropped.
Remove the special case in the console write routine an always use the
complete locking function.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
