]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
dmaengine: idxd: Wait for submitted operations on .device_synchronize()
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Wed, 21 Jan 2026 18:34:32 +0000 (10:34 -0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 25 Feb 2026 11:09:18 +0000 (16:39 +0530)
commit4fd3c4679f4f33873d7cb90b3eb553bea4db1038
treec5882c5f4d4d8b63ca6e11c20139f023184c3c71
parent2a93f5747d0eef89a3158c91d185d37d0bca2491
dmaengine: idxd: Wait for submitted operations on .device_synchronize()

When the dmaengine "core" asks the driver to synchronize, send a Drain
operation to the device workqueue, which will wait for the already
submitted operations to finish.

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-6-7ed70658a9d1@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/dma.c