[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d5d5778e-c498-44c5-952b-e9b2f619f58e@kernel.org>
Date: Mon, 8 Sep 2025 08:57:32 +0200
From: Jiri Slaby <jirislaby@...nel.org>
To: Tapio Reijonen <tapio.reijonen@...sala.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alexander Shiyan <shc_work@...l.ru>,
Hugo Villeneuve <hvilleneuve@...onoff.com>
Cc: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org
Subject: Re: [PATCH v3] serial: max310x: improve interrupt handling
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@...sala.com>
Looks/Reads much better now.
Reviewed-by: Jiri Slaby <jirislaby@...nel.org>
--
js
suse labs
Powered by blists - more mailing lists