linux/drivers/accel/habanalabs
Tomer Tayar 18d1358459 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>
2023-03-15 13:29:12 +02:00
..
common accel/habanalabs: enable graceful reset mechanism for compute-reset 2023-03-15 13:29:12 +02:00
gaudi accel/habanalabs: add critical-event bit in notifier 2023-03-15 13:29:12 +02:00
gaudi2 accel/habanalabs: unsecure CFG_TPC_ID register 2023-03-15 13:29:12 +02:00
goya
include
Kconfig
Makefile