summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKarol Wachowski <karol.wachowski@intel.com>2025-01-07 18:32:26 +0100
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>2025-01-09 09:35:44 +0100
commit5bbccadaf33eea2b879d8326ad59ae0663be47d1 (patch)
tree90a8c44614d4433ba129874b5768e88b04008746 /tools/perf/scripts/python
parent465a3914b254f82608a8dfb580ac9930722dfd88 (diff)
downloadlinux-5bbccadaf33eea2b879d8326ad59ae0663be47d1.tar.gz
linux-5bbccadaf33eea2b879d8326ad59ae0663be47d1.zip
accel/ivpu: Abort all jobs after command queue unregister
With hardware scheduler it is not expected to receive JOB_DONE notifications from NPU FW for the jobs aborted due to command queue destroy JSM command. Remove jobs submitted to unregistered command queue from submitted_jobs_xa to avoid triggering a TDR in such case. Add explicit submitted_jobs_lock that protects access to list of submitted jobs which is now used to find jobs to abort. Move context abort procedure to separate work queue not to slow down handling of IPCs or DCT requests in case where job abort takes longer, especially when destruction of the last job of a specific context results in context release. Signed-off-by: Karol Wachowski <karol.wachowski@intel.com> Signed-off-by: Maciej Falkowski <maciej.falkowski@linux.intel.com> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250107173238.381120-4-maciej.falkowski@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions