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:25 +0100
commitd4af0dab1a6ffc5bc3688a34358be68ee93561c1 (patch)
tree3173c684c4876fb23f6eeabbb1ae4e5990aa2f85 /tools/perf/scripts/python/stackcollapse.py
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
downloadlinux-next-d4af0dab1a6ffc5bc3688a34358be68ee93561c1.tar.gz
linux-next-d4af0dab1a6ffc5bc3688a34358be68ee93561c1.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