accel/habanalabs: ignore false positive razwi
authorTal Cohen <talcohen@habana.ai>
Thu, 30 Mar 2023 10:38:19 +0000 (13:38 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 5 Jun 2023 12:31:33 +0000 (15:31 +0300)
commit1464fbd8bab958b771af3214bd5cb52cd5f612ed
tree13fb729bd2f58af1d734e034755b2be11a692287
parentd95f87d29cf2097485765baac5109cecb486b5ee
accel/habanalabs: ignore false positive razwi

In Gaudi2 asic, PSOC RAZWI may cause in HBW or LBW. The address that
caused the error is read from HW register and printed by the Driver.
There are cases where the Driver receives an indication on PSOC
RAZWI error but the address value is zero. In that case, the indication
is a false positive.
The Driver should not "count" a PSOC RAZWI event error when the
caused the address is zeroed.

Signed-off-by: Tal Cohen <talcohen@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c