diff options
author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2025-01-29 15:40:08 +0300 |
---|---|---|
committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2025-02-03 11:59:18 +0300 |
commit | f2bc2afe34c107a02ce829a4039e85514feafe55 (patch) | |
tree | 6961911514b64f1af898f58d08eb6d25b9f75be9 /tools/perf/scripts/python/syscall-counts.py | |
parent | f3be8a9b1afffbcc70f8e41063b151b1038d7813 (diff) | |
download | linux-f2bc2afe34c107a02ce829a4039e85514feafe55.tar.xz |
accel/ivpu: Clear runtime_error after pm_runtime_resume_and_get() fails
pm_runtime_resume_and_get() sets dev->power.runtime_error that causes
all subsequent pm_runtime_get_sync() calls to fail.
Clear the runtime_error using pm_runtime_set_suspended(), so the driver
doesn't have to be reloaded to recover when the NPU fails to boot during
runtime resume.
Fixes: 7d4b4c74432d ("accel/ivpu: Remove suspend_reschedule_counter")
Cc: stable@vger.kernel.org # v6.11+
Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250129124009.1039982-3-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions