[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250908095315.44f1688153add9ae4c53b16b@hugovil.com>
Date: Mon, 8 Sep 2025 09:53:15 -0400
From: Hugo Villeneuve <hugo@...ovil.com>
To: Tapio Reijonen <tapio.reijonen@...sala.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Jiri Slaby
<jirislaby@...nel.org>, Alexander Shiyan <shc_work@...l.ru>, Hugo
Villeneuve <hvilleneuve@...onoff.com>, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org
Subject: Re: [PATCH v3] serial: max310x: improve interrupt handling
On Mon, 08 Sep 2025 06:53:43 +0000
Tapio Reijonen <tapio.reijonen@...sala.com> 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@...sala.com>
Reviewed-by: Hugo Villeneuve <hvilleneuve@...onoff.com>
--
Hugo Villeneuve
Powered by blists - more mailing lists