aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-11-07 10:10:50 -0800
committerLizhi Hou <lizhi.hou@amd.com>2025-11-13 09:10:43 -0800
commitca2583412306ceda9304a7c4302fd9efbf43e963 (patch)
tree9f0e7a10a0651d1e4f68dcbec9f49ccfd9b898be /tools/perf/scripts/python/bin/stackcollapse-record
parentaccel/amdxdna: Clear mailbox interrupt register during channel creation (diff)
downloadlinux-ca2583412306ceda9304a7c4302fd9efbf43e963.tar.gz
linux-ca2583412306ceda9304a7c4302fd9efbf43e963.zip
accel/amdxdna: Fix deadlock between context destroy and job timeout
Hardware context destroy function holds dev_lock while waiting for all jobs to complete. The timeout job also needs to acquire dev_lock, this leads to a deadlock. Fix the issue by temporarily releasing dev_lock before waiting for all jobs to finish, and reacquiring it afterward. Fixes: 4fd6ca90fc7f ("accel/amdxdna: Refactor hardware context destroy routine") Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20251107181050.1293125-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions