aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorSebastian von Ohr <[email protected]>2020-03-03 13:05:18 +0000
committerVinod Koul <[email protected]>2020-04-15 16:12:11 +0000
commitb269426011bcfd97b7c3101abfe1a99147b6f40b (patch)
tree96e729dae0ec64fd5aa4dfff5de6f9975ed9c7ad /tools/perf/scripts/python/syscall-counts-by-pid.py
parentdmaengine: ti: k3-psil: fix deadlock on error path (diff)
downloadkernel-b269426011bcfd97b7c3101abfe1a99147b6f40b.tar.gz
kernel-b269426011bcfd97b7c3101abfe1a99147b6f40b.zip
dmaengine: xilinx_dma: Add missing check for empty list
The DMA transfer might finish just after checking the state with dma_cookie_status, but before the lock is acquired. Not checking for an empty list in xilinx_dma_tx_status may result in reading random data or data corruption when desc is written to. This can be reliably triggered by using dma_sync_wait to wait for DMA completion. Signed-off-by: Sebastian von Ohr <[email protected]> Tested-by: Radhey Shyam Pandey <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions