summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKarol Wachowski <karol.wachowski@linux.intel.com>2025-09-16 10:48:09 +0200
committerKarol Wachowski <karol.wachowski@linux.intel.com>2025-09-18 08:30:18 +0200
commit9f6c63285737b141ca25a619add80a96111b8b96 (patch)
tree9eb819cc8ae7629ab3f3792a63a460819cf3f21e /tools/perf/scripts/python/stackcollapse.py
parent7c7a395a00646213753970dead94ef9f53892eef (diff)
accel/ivpu: Ensure rpm_runtime_put in case of engine reset/resume fail
Previously, aborting work could return early after engine reset or resume failure, skipping the necessary runtime_put cleanup leaving the device with incorrect reference count breaking runtime power management state. Replace early returns with goto statements to ensure runtime_put is always executed. Fixes: a47e36dc5d90 ("accel/ivpu: Trigger device recovery on engine reset/resume failure") Reviewed-by: Lizhi Hou <lizhi.hou@amd.com> Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com> Link: https://lore.kernel.org/r/20250916084809.850073-1-karol.wachowski@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions