WSL2-Linux-Kernel/drivers/dma/idxd
Dave Jiang 89e3becd8f dmaengine: idxd: check device state before issue command
Add device state check before executing command. Without the check the
command can be issued while device is in halt state and causes the driver to
block while waiting for the completion of the command.

Reported-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Fixes: 0d5c10b4c8 ("dmaengine: idxd: add work queue drain support")
Link: https://lore.kernel.org/r/161219313921.2976211.12222625226450097465.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-02-03 16:57:12 +05:30
..
Makefile dmaengine: idxd: add char driver to expose submission portal to userland 2020-01-24 11:18:45 +05:30
cdev.c dmaengine: idxd: add IAX configuration support in the IDXD driver 2020-12-11 19:45:53 +05:30
device.c dmaengine: idxd: check device state before issue command 2021-02-03 16:57:12 +05:30
dma.c dmaengine: move channel device_node deletion to driver 2021-01-19 22:10:52 +05:30
idxd.h dmaengine: idxd: check device state before issue command 2021-02-03 16:57:12 +05:30
init.c dmaengine: idxd: check device state before issue command 2021-02-03 16:57:12 +05:30
irq.c dmaengine: idxd: fix misc interrupt completion 2021-01-17 12:19:25 +05:30
registers.h dmaengine updates for v5.11-rc1 2020-12-17 12:52:23 -08:00
submit.c dmaengine updates for v5.11-rc1 2020-12-17 12:52:23 -08:00
sysfs.c dmaengine: idxd: off by one in cleanup code 2020-12-29 10:07:59 +05:30