habanalabs: use graceful hard reset for CS timeouts
authorTomer Tayar <ttayar@habana.ai>
Fri, 30 Sep 2022 14:02:19 +0000 (17:02 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 23 Nov 2022 14:13:44 +0000 (16:13 +0200)
commit1b363adc7fbe37c4b6c18864c1f7043d85b4af6e
tree5806cc88495a1451f03dbd0bf77c21e10630b33f
parentd1ce7e5ea140bb01d8c6faded09b9264bb83f722
habanalabs: use graceful hard reset for CS timeouts

Use graceful hard reset when detecting a CS timeout that requires a
device reset.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c