summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-17 22:30:10 -0700
committerVinod Koul <vkoul@kernel.org>2026-09-03 19:17:44 +0530
commit62c267ce97444f8a381f2bb3cd5d534eb362c540 (patch)
treefcf06c887eaa252e5a3b2d4c2cbaf9986afa80e5 /tools/perf/scripts/python
parente99f446c47318f4489eb3a675d53d4047951a6d0 (diff)
dmaengine: fsl_raid: don't invoke client callback under desc_lock
fsl_re_dequeue() holds re_chan->desc_lock while calling fsl_re_desc_done(), which synchronously invokes the DMA client completion callback via dmaengine_desc_get_callback_invoke(). If that callback submits new work (e.g. fsl_re_tx_submit()), it tries to reacquire the same desc_lock and deadlocks on the spinlock. Collect completed descriptors into a local list under the lock, then release the lock and invoke the callbacks before moving the descriptors to the ack queue. Fixes: ad80da658bbc ("dmaengine: Driver support for FSL RaidEngine device.") Assisted-by: opencode:hy3-free Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260718053010.3074329-1-rosenp@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions