OpenCloudOS-Kernel/drivers/dma/idxd
Dave Jiang 1cd8e751d9 dmaengine: idxd: skip clearing device context when device is read-only
If the device shows up as read-only configuration, skip the clearing of the
state as the context must be preserved for device re-enable after being
disabled.

Fixes: 0dcfe41e9a ("dmanegine: idxd: cleanup all device related bits after disabling device")
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/164971479479.2200566.13980022473526292759.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-04-20 17:24:43 +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: skip clearing device context when device is read-only 2022-04-20 17:24:43 +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: fix retry value to be constant for duration of function call 2022-04-20 17:24:42 +05:30
sysfs.c dmaengine: idxd: add RO check for wq max_transfer_size write 2022-04-20 17:24:42 +05:30