linux_dsm_epyc7002/drivers/dma/idxd
Dave Jiang 4f302642b7 dmaengine: idxd: fix interrupt completion after unmasking
The current implementation may miss completions after we unmask the
interrupt. In order to make sure we process all competions, we need to:
1. Do an MMIO read from the device as a barrier to ensure that all PCI
   writes for completions have arrived.
2. Check for any additional completions that we missed.

Fixes: 8f47d1a5e5 ("dmaengine: idxd: connect idxd to dmaengine subsystem")

Reported-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/158834641769.35613.1341160109892008587.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-05-04 14:25:37 +05:30
..
cdev.c dmaengine updates for v5.7-rc1 2020-04-02 16:04:42 -07:00
device.c dmaengine: idxd: fix interrupt completion after unmasking 2020-05-04 14:25:37 +05:30
dma.c dmaengine: idxd: connect idxd to dmaengine subsystem 2020-01-24 11:18:45 +05:30
idxd.h dmaengine: idxd: add char driver to expose submission portal to userland 2020-01-24 11:18:45 +05:30
init.c dmaengine: idxd: add char driver to expose submission portal to userland 2020-01-24 11:18:45 +05:30
irq.c dmaengine: idxd: fix interrupt completion after unmasking 2020-05-04 14:25:37 +05:30
Makefile dmaengine: idxd: add char driver to expose submission portal to userland 2020-01-24 11:18:45 +05:30
registers.h dmaengine: idxd: add configuration component of driver 2020-01-24 11:18:45 +05:30
submit.c dmaengine: idxd: add char driver to expose submission portal to userland 2020-01-24 11:18:45 +05:30
sysfs.c dmaengine updates for v5.7-rc1 2020-04-02 16:04:42 -07:00