summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZongmin Zhou <zhouzongmin@kylinos.cn>2026-09-24 14:28:56 +0800
committerSrinivas Kandagatla <srini@kernel.org>2026-09-25 09:30:04 +0100
commit3825cb3416a34a8b40aadbd191d7d5307d249f78 (patch)
tree69a36845742ad39ebdd7dce70811b9cf91a9eb56 /tools/perf/scripts/python/stackcollapse.py
parent37052fa3297966e28e6f0903c6ba448b2afaf8f9 (diff)
downloadlinux-next-3825cb3416a34a8b40aadbd191d7d5307d249f78.tar.gz
linux-next-3825cb3416a34a8b40aadbd191d7d5307d249f78.zip
slimbus: messaging: fix leaked PM vote on tid allocation failure
In slim_do_transfer(), when a transaction needs a tid and slim_alloc_txn_tid() fails, the function returns directly instead of jumping to slim_xfer_err. The runtime PM vote taken earlier with pm_runtime_get_sync() is then never released, leaving the controller permanently powered up. As txn->tid is still 0 at that point, jumping to slim_xfer_err drops the vote exactly like it is done for other failed transactions. Fixes: d3062a2109309 ("slimbus: messaging: add slim_alloc/free_txn_tid()") Cc: stable@vger.kernel.org Signed-off-by: Zongmin Zhou <zhouzongmin@kylinos.cn> Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions