dmaengine: idxd: int handle management refactoring
authorDave Jiang <dave.jiang@intel.com>
Tue, 26 Oct 2021 21:36:10 +0000 (14:36 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Nov 2021 05:51:26 +0000 (11:21 +0530)
commit8b67426e05584e956775f4b134596b56bc0d35e0
tree6277368110ff1dfc2ee2d80edaf659e1d8859962
parent5d78abb6fbc974d601dd365b9ce39f320fb5ba79
dmaengine: idxd: int handle management refactoring

Attach int_handle to irq_entry. This removes the separate management of int
handles and reduces the confusion of interating through int handles that is
off by 1 count.

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