]> git.ipfire.org Git - thirdparty/linux.git/commit
dma: dma-axi-dmac: fix HW scatter-gather not looking at the queue
authorNuno Sá <nuno.sa@analog.com>
Tue, 4 Nov 2025 16:22:26 +0000 (16:22 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 11:13:15 +0000 (16:43 +0530)
commitbbcbafb99df41a1d81403eb4f5bb443b38228b57
treeaedbbc63be910544dfcb985d8cb5a585ef2b7106
parent9bd257181fd5c996d922e9991500ad27987cfbf4
dma: dma-axi-dmac: fix HW scatter-gather not looking at the queue

For HW scatter gather transfers we still need to look for the queue. The
HW is capable of queueing 3 concurrent transfers and if we try more than
that we'll get the submit queue full and should return. Otherwise, if we
go ahead and program the new transfer, we end up discarding it.

Fixes: e97dc7435972 ("dmaengine: axi-dmac: Add support for scatter-gather transfers")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
base-commit: 398035178503bf662281bbffb4bebce1460a4bc5
change-id: 20251104-axi-dmac-fixes-and-improvs-e3ad512a329c
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Link: https://patch.msgid.link/20251104-axi-dmac-fixes-and-improvs-v1-2-3e6fd9328f72@analog.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c