aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-02-27 08:50:46 +0000
committerGreg Kroah-Hartman <[email protected]>2023-03-09 16:08:05 +0000
commit6e01f9a594ee0f69fb52cc8d11971612b4817f0b (patch)
tree1cb46949b7c06282af9477dec03e5281abfd8f91 /fs/proc/array.c
parentserial: 8250_em: Fix UART port type (diff)
downloadkernel-6e01f9a594ee0f69fb52cc8d11971612b4817f0b.tar.gz
kernel-6e01f9a594ee0f69fb52cc8d11971612b4817f0b.zip
serial: 8250_fsl: fix handle_irq locking
The 8250 handle_irq callback is not just called from the interrupt handler but also from a timer callback when polling (e.g. for ports without an interrupt line). Consequently the callback must explicitly disable interrupts to avoid a potential deadlock with another interrupt in polled mode. Fix up the two paths in the freescale callback that failed to re-enable interrupts when polling. Fixes: 853a9ae29e97 ("serial: 8250: fix handle_irq locking") Cc: [email protected] # 5.13 Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/Y/xYzqp4ogmOF5t0@kili Signed-off-by: Johan Hovold <[email protected]> Acked-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions