]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5979443e9d2ad57df1e8aea907c0f4ec64c207e3
tree0c3b769769ebd3cd3e7dbd0515a516ea87a0aa5d
parente9770e98207817173ad95335bef2d03428329a4e
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