OpenCloudOS-Kernel/drivers/dma/idxd
Dave Jiang 12e45e8955 dmaengine: idxd: fix device cleanup on disable
There are certain parts of WQ that needs to be cleaned up even after WQ is
disabled during the device disable. Those are the unchangeable parts for a
WQ when the device is still enabled. Move the cleanup outside of WQ state
check. Remove idxd_wq_disable_cleanup() inside idxd_wq_device_reset_cleanup()
since only the unchangeable parts need to be cleared.

Fixes: 0f225705cf ("dmaengine: idxd: fix wq settings post wq disable")
Reported-by: Tony Zhu <tony.zhu@intel.com>
Tested-by: Tony Zhu <tony.zhu@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/164919561905.1455025.13542366389944678346.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-04-08 23:27:17 +05:30
..
Makefile dmaengine: idxd: move dsa_drv support to compatible mode 2021-07-21 10:09:16 +05:30
bus.c Bus: Make remove callback return void tag 2021-07-27 19:12:14 +05:30
cdev.c dmaengine: idxd: remove interrupt disable for dev_lock 2021-08-29 19:14:20 +05:30
compat.c dmaengine: idxd: Fix a possible NULL pointer dereference 2021-08-02 12:35:10 +05:30
device.c dmaengine: idxd: fix device cleanup on disable 2022-04-08 23:27:17 +05:30
dma.c dmaengine: idxd: change MSIX allocation based on per wq activation 2022-01-05 13:11:22 +05:30
idxd.h dmaengine: idxd: change bandwidth token to read buffers 2022-01-05 13:14:25 +05:30
init.c dmaengine: idxd: Remove useless DMA-32 fallback configuration 2022-03-11 15:23:36 +05:30
irq.c dmaengine: idxd: change MSIX allocation based on per wq activation 2022-01-05 13:11:22 +05:30
perfmon.c dmaengine: idxd: Add IDXD performance monitor support 2021-04-25 21:46:12 +05:30
perfmon.h dmaengine: idxd: Add IDXD performance monitor support 2021-04-25 21:46:12 +05:30
registers.h dmaengine: idxd: change bandwidth token to read buffers 2022-01-05 13:14:25 +05:30
submit.c dmaengine: idxd: embed irq_entry in idxd_wq struct 2022-01-05 13:11:21 +05:30
sysfs.c dmaengine: idxd: deprecate token sysfs attributes for read buffers 2022-01-05 13:14:25 +05:30