dmaengine: idxd: move interrupt handle assignment
authorDave Jiang <dave.jiang@intel.com>
Tue, 26 Oct 2021 21:36:17 +0000 (14:36 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Nov 2021 05:51:26 +0000 (11:21 +0530)
commiteb0cf33a91b46cd50b590d032471f7f977d5a92a
tree0c3b769769ebd3cd3e7dbd0515a516ea87a0aa5d
parent8b67426e05584e956775f4b134596b56bc0d35e0
dmaengine: idxd: move interrupt handle assignment

In preparation of supporting interrupt handle revoke event, move the
interrupt handle assignment to right before the descriptor to be submitted.
This allows the interrupt handle revoke logic to assign the latest
interrupt handle on submission.

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