linux-stable/drivers/dma
Shuai Xue 23dc14c52d dmaengine: idxd: Refactor remove call with idxd_cleanup() helper
commit a409e919ca upstream.

The idxd_cleanup() helper cleans up perfmon, interrupts, internals and
so on. Refactor remove call with the idxd_cleanup() helper to avoid code
duplication. Note, this also fixes the missing put_device() for idxd
groups, enginces and wqs.

Fixes: bfe1d56091 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Cc: stable@vger.kernel.org
Suggested-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com>
Reviewed-by: Fenghua Yu <fenghuay@nvidia.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20250404120217.48772-10-xueshuai@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-22 14:29:52 +02:00
..
amd
bestcomm
dw
dw-axi-dmac
dw-edma
fsl-dpaa2-qdma
hsu
idxd dmaengine: idxd: Refactor remove call with idxd_cleanup() helper 2025-05-22 14:29:52 +02:00
ioat
lgm
mediatek
ppc4xx
ptdma
qcom
sf-pdma
sh
stm32
ti dmaengine: ti: k3-udma: Use cap_mask directly from dma_device structure instead of a local copy 2025-05-22 14:29:50 +02:00
xilinx
acpi-dma.c
altera-msgdma.c
amba-pl08x.c
apple-admac.c
at_hdmac.c
at_xdmac.c
bcm2835-dma.c
bcm-sba-raid.c
dma-axi-dmac.c
dma-jz4780.c
dmaengine.c
dmaengine.h
dmatest.c dmaengine: Revert "dmaengine: dmatest: Fix dmatest waiting less when interrupted" 2025-05-22 14:29:44 +02:00
ep93xx_dma.c
fsl_raid.c
fsl_raid.h
fsl-edma-common.c
fsl-edma-common.h
fsl-edma-main.c
fsl-edma-trace.c
fsl-edma-trace.h
fsl-qdma.c
fsldma.c
fsldma.h
hisi_dma.c
idma64.c
idma64.h
img-mdc-dma.c
imx-dma.c
imx-sdma.c
k3dma.c
Kconfig
loongson1-apb-dma.c
lpc18xx-dmamux.c
lpc32xx-dmamux.c
ls2x-apb-dma.c
Makefile
mcf-edma-main.c
milbeaut-hdmac.c
milbeaut-xdmac.c
mmp_pdma.c
mmp_tdma.c
moxart-dma.c
mpc512x_dma.c
mv_xor_v2.c
mv_xor.c
mv_xor.h
mxs-dma.c
nbpfaxi.c
of-dma.c
owl-dma.c
pch_dma.c
pl330.c
plx_dma.c
pxa_dma.c
sa11x0-dma.c
sprd-dma.c
st_fdma.c
st_fdma.h
ste_dma40_ll.c
ste_dma40_ll.h
ste_dma40.c
ste_dma40.h
sun4i-dma.c
sun6i-dma.c
tegra20-apb-dma.c
tegra186-gpc-dma.c
tegra210-adma.c
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
uniphier-mdmac.c
uniphier-xdmac.c
virt-dma.c
virt-dma.h
xgene-dma.c