Re: [PATCH mainline-linux 1/4] tty: serial: sh-sci: set the RSCI RX FIFO trigger to half the FIFO

From: Greg Kroah-Hartman

Date: Fri Nov 20 2026 - 11:12:00 EST


On Fri, Nov 20, 2026 at 03:49:24PM +0000, Diogo Ivo wrote:
> From: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@xxxxxxxxxxx>
>
> The RSCI port types ask for a RX FIFO trigger equal to their FIFO size,
> which rsci_scif_set_rtrg() clamps to fifosize - 1. RDRF is raised once
> the FIFO holds at least RTRG bytes, so the receive interrupt arrives
> with a single byte of space left, causing overruns at 1152000 baud on
> RZ/T2H, and at 115200 baud on RZ/G3L.
>
> Every other port with a FIFO triggers at half of it, SCIF at 8 of 16 and
> HSCIF at 64 of 128. The only exceptions are SCIFA and SCIFB which set it
> to 1 because they have no hardware FIFO timeout and a higher trigger
> would leave bytes in the FIFO.
>
> Trigger at half the FIFO for RSCI as well, 8 of 16 for RSCI_PORT_SCIF16
> and 16 of 32 for the RSCI_PORT_SCIF32 types.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 3a3ab10245b6 ("serial: sh-sci: Update rx_trigger size for RZ/T2H RSCI")
> Fixes: 0666e3fe95ab ("serial: sh-sci: Add support for RZ/T2H SCI")
> Fixes: 42eeed6d9f31 ("serial: sh-sci: Add support for RZ/G3E RSCI")
> Fixes: 8f18d3cbd920 ("serial: sh-sci: Add support for RZ/G3L RSCI")

So this patch is going to fail to apply to 6.18.y, which from this list
looks like you want it to apply to. So please break it up into
one-patch-per-device to make it simpler for everyone involved.

thanks,

greg k-h