accel/habanalabs/gaudi2: check extended errors according to PCIe addr_dec interrupt...
authorTomer Tayar <ttayar@habana.ai>
Thu, 18 Jan 2024 12:29:02 +0000 (14:29 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 26 Feb 2024 07:46:55 +0000 (09:46 +0200)
commitc1e89ae455282baf69e45b81f04e095716b13cb2
tree834b6c64aa692db3756d422752b218a8683a40e6
parent7159813c912055996c0bd6b7b07afdb9e618788d
accel/habanalabs/gaudi2: check extended errors according to PCIe addr_dec interrupt info

The FW interrupt info for a PCIe addr_dec event is set correctly, so
check for either global errors or razwi according to the indications
there.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2.c