diff options
author | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2025-01-29 15:40:09 +0300 |
---|---|---|
committer | Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> | 2025-02-03 11:59:18 +0300 |
commit | 41a2d8286c905614f29007f1bc8e652d54654b82 (patch) | |
tree | d196699dac95ae2ba9cd73f413103d46c5a47135 /tools/perf/scripts/python/syscall-counts.py | |
parent | f2bc2afe34c107a02ce829a4039e85514feafe55 (diff) | |
download | linux-41a2d8286c905614f29007f1bc8e652d54654b82.tar.xz |
accel/ivpu: Fix error handling in recovery/reset
Disable runtime PM for the duration of reset/recovery so it is possible
to set the correct runtime PM state depending on the outcome of the
`ivpu_resume()`. Don’t suspend or reset the HW if the NPU is suspended
when the reset/recovery is requested. Also, move common reset/recovery
code to separate functions for better code readability.
Fixes: 27d19268cf39 ("accel/ivpu: Improve recovery and reset support")
Cc: stable@vger.kernel.org # v6.8+
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-4-jacek.lawrynowicz@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions