dmaengine: idxd: handle invalid interrupt handle descriptors
authorDave Jiang <dave.jiang@intel.com>
Tue, 26 Oct 2021 21:36:36 +0000 (14:36 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Nov 2021 05:51:26 +0000 (11:21 +0530)
commitf6d442f7088cbf5e2ac4561aca6888380239d5b9
tree6b982d59f3a3158126ba97ce09adacb603e0c3ba
parentbd5970a0d01f8e45af9b2e2cf1d245b84ea757ba
dmaengine: idxd: handle invalid interrupt handle descriptors

Handle a descriptor that has been marked with invalid interrupt handle
error in status. Create a work item that will resubmit the descriptor. This
typically happens when the driver has handled the revoke interrupt handle
event and has a new interrupt handle.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/163528419601.3925689.4166517602890523193.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/dma.c
drivers/dma/idxd/idxd.h
drivers/dma/idxd/irq.c