diff options
| author | Dave Jiang <[email protected]> | 2020-05-01 15:21:18 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-05-04 08:55:37 +0000 |
| commit | 4f302642b70c1348773fe7e3ded9fc315fa92990 (patch) | |
| tree | 0df10b16fad5f35b8b1fe3a0c94102966aafc7d5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | dmaengine: owl: Use correct lock in owl_dma_get_pchan() (diff) | |
| download | kernel-4f302642b70c1348773fe7e3ded9fc315fa92990.tar.gz kernel-4f302642b70c1348773fe7e3ded9fc315fa92990.zip | |
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: 8f47d1a5e545 ("dmaengine: idxd: connect idxd to dmaengine subsystem")
Reported-by: Sanjay Kumar <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/158834641769.35613.1341160109892008587.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
