linux/drivers/misc/habanalabs
Tomer Tayar 21fc79336b habanalabs/gaudi2: mark PCIE access error as fatal
F/W events are enabled in a late phase of the device init, so an event
for a PCIE access error during the init, can be received after the init
is already done and considered as successful.
A resulting device reset, which does the same H/W init, can end
similarly with this event right after the reset is done and considered
as successful, and a loop of this sequence can continue.

To avoid it mark the PCIE access error as a fatal event, so after 2
consecutive events no more resets will be done.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2022-09-18 13:29:50 +03:00
..
common habanalabs: add uapi to retrieve engines status 2022-09-18 13:29:50 +03:00
gaudi habanalabs: remove all kdma locks 2022-09-18 13:29:50 +03:00
gaudi2 habanalabs/gaudi2: mark PCIE access error as fatal 2022-09-18 13:29:50 +03:00
goya habanalabs: remove all kdma locks 2022-09-18 13:29:50 +03:00
include habanalabs/gaudi2: remove old interrupt mappings 2022-09-18 13:29:50 +03:00
Kconfig habanalabs: select CRC32 2021-10-18 12:05:47 +03:00
Makefile habanalabs: add gaudi2 asic-specific code 2022-07-12 09:09:27 +03:00