Re: [PATCH v3 2/2] serial: sh-sci: Fix deadlock during RSCI FIFO overrun error

From: Geert Uytterhoeven

Date: Fri Nov 21 2025 - 09:30:25 EST


On Fri, 14 Nov 2025 at 11:13, Biju <biju.das.au@xxxxxxxxx> wrote:
> From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
>
> On RSCI IP, a deadlock occurs during a FIFO overrun error, as it uses a
> different register to clear the FIFO overrun error status.
>
> Cc: stable@xxxxxxxxxx
> Fixes: 0666e3fe95ab ("serial: sh-sci: Add support for RZ/T2H SCI")
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> ---
> v2->v3:
> * Dropped overrun_clr from struct sci_port_params_bits
> * All of the CFCLR_*C clearing bits match the corresponding
> CSR_*status bits. So, reused the overrun mask for irq clearing.

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds