Re: [PATCH v3] serial: max310x: improve interrupt handling
From: Jiri Slaby
Date: Mon Sep 08 2025 - 02:57:48 EST
On 08. 09. 25, 8:53, Tapio Reijonen wrote:
When there is a heavy load of receiving characters to all
four UART's, the warning 'Hardware RX FIFO overrun' is
sometimes detected.
The current implementation always service first the highest UART
until no more interrupt and then service another UART
(ex: UART3 will be serviced for as long as there are interrupts
for it, then UART2, etc).
This commit handle all individual interrupt sources before
reading the global IRQ register again.
This commit has also a nice side-effect of improving the efficiency
of the driver by reducing the number of reads of the global
IRQ register.
Signed-off-by: Tapio Reijonen <tapio.reijonen@xxxxxxxxxxx>
Looks/Reads much better now.
Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>
--
js
suse labs