diff options
author | Dafna Hirschfeld <dhirschfeld@habana.ai> | 2023-02-15 12:15:57 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-03-15 13:29:14 +0200 |
commit | 86b74d843897fdb9f2366bc515e9d52816e3d247 (patch) | |
tree | 80d6aaa65fc82efa33fd40f80f6eb14f99141b0d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d85f0531b9285cf7dc6784b06e7e7dbc1c04dcee (diff) |
accel/habanalabs: assert return value of hw_fini
Since hw_fini return error code for failure indication, we should
check its return value. Currently it might only fail upon soft-reset
from hl_device_reset. Later patch will add hw_fini failure in case of
polling timeout in hard-reset.
Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions