diff options
author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2025-03-25 12:43:05 +0100 |
---|---|---|
committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2025-03-31 14:19:05 +0200 |
commit | 9a6f56762d23a1f3af15e67901493c927caaf882 (patch) | |
tree | 1f4b527a10cb8afdfb3ebe3c70368aabc62ba7e6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6b4568b675b14cf890c0c21779773c3e08e80ce5 (diff) |
accel/ivpu: Fix deadlock in ivpu_ms_cleanup()
Fix deadlock in ivpu_ms_cleanup() by preventing runtime resume after
file_priv->ms_lock is acquired.
During a failure in runtime resume, a cold boot is executed, which
calls ivpu_ms_cleanup_all(). This function calls ivpu_ms_cleanup()
that acquires file_priv->ms_lock and causes the deadlock.
Fixes: cdfad4db7756 ("accel/ivpu: Add NPU profiling support")
Cc: stable@vger.kernel.org # v6.11+
Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Reviewed-by: Lizhi Hou <lizhi.hou@amd.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://lore.kernel.org/r/20250325114306.3740022-2-maciej.falkowski@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions