accel/habanalabs: print max timeout value on CS stuck
authorOded Gabbay <ogabbay@kernel.org>
Wed, 3 May 2023 11:47:54 +0000 (14:47 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 8 Jun 2023 09:35:55 +0000 (12:35 +0300)
commitadda800c049a4580aaec4d710a9972cdad5b14e3
tree974725858620e27012a65e44429254529d664513
parentdcfce96ee834de6f9223670f3d2e1440559fb9b6
accel/habanalabs: print max timeout value on CS stuck

If a workload got stuck, we print an error to the kernel log about it.
Add to that print the configured max timeout value, as that value is
not fixed between ASICs and in addition it can be configured using
a kernel module parameter.

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