]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: idxd: Flush all pending descriptors
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Wed, 21 Jan 2026 18:34:31 +0000 (10:34 -0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 25 Feb 2026 11:09:18 +0000 (16:39 +0530)
commit2a93f5747d0eef89a3158c91d185d37d0bca2491
treedb638aed5d60052f4eb9ab10fbb9fbfc03fc699b
parentf019d7814bceb6d8a017b3e55cb53deb1e6fd36b
dmaengine: idxd: Flush all pending descriptors

When used as a dmaengine, the DMA "core" might ask the driver to
terminate all pending requests, when that happens, flush all pending
descriptors.

In this context, flush means removing the requests from the pending
lists, so even if they are completed after, the user is not notified.

Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Link: https://patch.msgid.link/20260121-idxd-fix-flr-on-kernel-queues-v3-v3-5-7ed70658a9d1@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/dma.c