]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: idxd: Flush kernel workqueues on Function Level Reset
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Wed, 21 Jan 2026 18:34:30 +0000 (10:34 -0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 25 Feb 2026 11:09:17 +0000 (16:39 +0530)
commitf019d7814bceb6d8a017b3e55cb53deb1e6fd36b
tree7a387c028d0a06dac286005673dc3c2baea62fe1
parentd6077df7b75d26e4edf98983836c05d00ebabd8d
dmaengine: idxd: Flush kernel workqueues on Function Level Reset

When a Function Level Reset (FLR) happens, terminate the pending
descriptors that were issued by in-kernel users and disable the
interrupts associated with those. They will be re-enabled after FLR
finishes.

idxd_wq_flush_desc() is declared on idxd.h because it's going to be
used in by the DMA backend in a future patch.

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