Re: [PATCH] serial: sh-sci: fix break handling for sysrq

From: Geert Uytterhoeven
Date: Mon Aug 23 2021 - 05:17:12 EST


On Mon, Aug 16, 2021 at 6:22 PM Ulrich Hecht <uli+renesas@xxxxxxxx> wrote:
> This fixes two issues that cause the sysrq sequence to be inadvertently
> aborted on SCIF serial consoles:
>
> - a NUL character remains in the RX queue after a break has been detected,
> which is then passed on to uart_handle_sysrq_char()
> - the break interrupt is handled twice on controllers with multiplexed ERI
> and BRI interrupts
>
> Signed-off-by: Ulrich Hecht <uli+renesas@xxxxxxxx>

FTR:
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