Re: [PATCH 4/4] serial: 8250: Flush DMA Rx on RLSI

From: Andy Shevchenko
Date: Mon Nov 07 2022 - 06:40:32 EST


On Mon, Nov 07, 2022 at 01:07:08PM +0200, Ilpo Järvinen wrote:
> Returning true from handle_rx_dma() without flushing DMA first creates
> a data ordering hazard. If DMA Rx has handled any character at the
> point when RLSI occurs, the non-DMA path handles any pending characters
> jumping them ahead of those characters that are pending under DMA.
>
> Fixes: 75df022b5f89 ("serial: 8250_dma: Fix RX handling")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---
> Cc: Gilles BULOZ <gilles.buloz@xxxxxxxxxxx>

Maybe instead you can do --cc Guilles ... for entire series (and drop from
other commit messages)?

--
With Best Regards,
Andy Shevchenko