habanalabs/gaudi: trigger state dump in case of SM errors
authorOfir Bitton <obitton@habana.ai>
Mon, 12 Jul 2021 11:18:30 +0000 (14:18 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 29 Aug 2021 06:47:47 +0000 (09:47 +0300)
commit7148e647a585075ee9996bc437c2ac95c5cea6bf
tree16561869f6ed644b0f7e8b26460e3077baae5588
parenta6946151110e8ec8c675c6709e03c15b30a85def
habanalabs/gaudi: trigger state dump in case of SM errors

State dump is relevant to the user in case of Sync Manager error, so
we need to trigger it in that case as well.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c