diff options
| author | Michael Tretter <[email protected]> | 2021-08-26 11:47:42 +0200 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-10-01 17:26:30 +0530 |
| commit | 9558cf4ad07e8913c14e83959212ae8fdf60cfea (patch) | |
| tree | d1d24df578fcc5ed370762b64dd3a94dae13b5df /tools/perf/scripts/python | |
| parent | 193a750df59580ddda6779290fa3898ba3216d3c (diff) | |
dmaengine: zynqmp_dma: fix lockdep warning in tasklet
The tasklet that handles the completed dma transfers uses spin_unlock
for unlocking a spin lock that was previously locked with
spin_lock_irqsave.
This caused the following lockdep warning about an inconsistent lock
state:
inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage.
We must use spin_lock_irqsave, because it is possible to queue DMA
transfers from an irq handler.
Replace the spin_unlock and spin_lock by spin_unlock_irqrestore and
spin_lock_irqsave.
Signed-off-by: Michael Tretter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions