[PATCH 0/2] serial: 8250_dma: DMA Rx race fixes

From: Ilpo Järvinen
Date: Mon Jan 30 2023 - 06:49:55 EST


Fix two races in DMA Rx completion and rearm handling.

I know in advance that the first patch will not be backport friendly
because of commit 56dc5074cbec ("serial: 8250_dma: Rearm DMA Rx if more
data is pending") that is not even in 6.1 but I can create the custom
backport on request.

Cc: stable@xxxxxxxxxxxxxxx

Ilpo Järvinen (2):
serial: 8250_dma: Fix DMA Rx completion race
serial: 8250_dma: Fix DMA Rx rearm race

drivers/tty/serial/8250/8250_dma.c | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)

--
2.30.2