Re: [PATCH] serial: 8250_fsl: fix handle_irq locking

From: Jiri Slaby
Date: Tue Feb 28 2023 - 01:27:56 EST


On 27. 02. 23, 9:50, Johan Hovold wrote:
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.

Huh.

Acked-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

--
js
suse labs