accel/habanalabs: add log when eq event is not received
authorFarah Kassabri <fkassabri@habana.ai>
Sun, 29 Oct 2023 14:16:16 +0000 (16:16 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 19 Dec 2023 09:09:42 +0000 (11:09 +0200)
commite8bc0c1b1b730eb8759f5305ebd2d6876952e539
tree80bc4ef3b1764e6b3fc961c0b6ceb4da4f0718d5
parentc6485482330d9f9a745d4bfec4dca722bd2bd75f
accel/habanalabs: add log when eq event is not received

Add error log when no eq event is received from FW,
to cover a scenario when FW is stuck for some reason.
In such case driver will not receive neither the eq error interrupt
or the eq heartbeat event, and will just initiate a reset without
indication in the dmesg about the reason.

Signed-off-by: Farah Kassabri <fkassabri@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/device.c