diff options
author | Dave Jiang <dave.jiang@intel.com> | 2021-10-27 00:36:36 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-11-22 08:51:26 +0300 |
commit | f6d442f7088cbf5e2ac4561aca6888380239d5b9 (patch) | |
tree | 6b982d59f3a3158126ba97ce09adacb603e0c3ba /drivers/dma/idxd/idxd.h | |
parent | bd5970a0d01f8e45af9b2e2cf1d245b84ea757ba (diff) | |
download | linux-f6d442f7088cbf5e2ac4561aca6888380239d5b9.tar.xz |
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>
Diffstat (limited to 'drivers/dma/idxd/idxd.h')
-rw-r--r-- | drivers/dma/idxd/idxd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h index 970701738c8a..82c4915f58a2 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -524,6 +524,7 @@ void idxd_unregister_devices(struct idxd_device *idxd); int idxd_register_driver(void); void idxd_unregister_driver(void); void idxd_wqs_quiesce(struct idxd_device *idxd); +bool idxd_queue_int_handle_resubmit(struct idxd_desc *desc); /* device interrupt control */ void idxd_msix_perm_setup(struct idxd_device *idxd); |