diff options
| author | Tomer Tayar <ttayar@habana.ai> | 2023-01-25 11:38:56 +0200 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2023-03-15 13:29:12 +0200 |
| commit | 18d1358459bd2a18f4582c9ecbdb63cb8825fce0 (patch) | |
| tree | f339c6bef2e45a1b18e589107f6119a3964b4583 /tools/perf/scripts/python | |
| parent | accel/habanalabs: disable PCI when escalating compute to hard-reset (diff) | |
| download | linux-18d1358459bd2a18f4582c9ecbdb63cb8825fce0.tar.gz linux-18d1358459bd2a18f4582c9ecbdb63cb8825fce0.zip | |
accel/habanalabs: enable graceful reset mechanism for compute-reset
The graceful reset mechanism is currently enabled only for reset
requests that will end up with hard-reset.
In future, reset requests due to errors in some device engines, are
going to be modified to request compute-reset, as the much longer
hard-reset is not really needed there.
To allow it, enable graceful reset also for compute-reset, and reset
after user releases the device won't be escalated to hard-reset in those
cases.
If watchdog expires and user didn't release the device, hard-reset will
be initiated in any case.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
