mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] serial: 8250_dma: DMA Rx race fixes
@ 2023-01-30 11:48 Ilpo Järvinen
  2023-01-30 11:48 ` [PATCH 1/2] serial: 8250_dma: Fix DMA Rx completion race Ilpo Järvinen
  2023-01-30 11:48 ` [PATCH 2/2] serial: 8250_dma: Fix DMA Rx rearm race Ilpo Järvinen
  0 siblings, 2 replies; 5+ messages in thread
From: Ilpo Järvinen @ 2023-01-30 11:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Andy Shevchenko, linux-serial,
	Heikki Krogerus
  Cc: Gilles BULOZ, linux-kernel, Ilpo Järvinen, stable

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@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-01  7:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 11:48 [PATCH 0/2] serial: 8250_dma: DMA Rx race fixes Ilpo Järvinen
2023-01-30 11:48 ` [PATCH 1/2] serial: 8250_dma: Fix DMA Rx completion race Ilpo Järvinen
2023-02-01  7:31   ` Heikki Krogerus
2023-01-30 11:48 ` [PATCH 2/2] serial: 8250_dma: Fix DMA Rx rearm race Ilpo Järvinen
2023-02-01  7:32   ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome