summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2021-06-02 11:56:31 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-06-18 15:23:41 +0300
commit254fac6d1a73aac40aa4d423c993965987728040 (patch)
treede2cedf541b3e34ff1344ed8bf01708de1ca3e4a /drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
parenta39725819c816c87c6b4eeca4c10197a41e2a928 (diff)
downloadlinux-254fac6d1a73aac40aa4d423c993965987728040.tar.xz
habanalabs/gaudi: add FW alive event support
In order for driver to be aware of process or thread crashes inside GAUDI's CPU, we introduce a new event which contains all relevant information. Upon event reception, driver will dump information and will reset the device. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h')
-rw-r--r--drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h b/drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
index e8651abf84f2..f66c759952e4 100644
--- a/drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
+++ b/drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
@@ -303,6 +303,7 @@ enum gaudi_async_event_id {
GAUDI_EVENT_NIC3_QP1 = 619,
GAUDI_EVENT_NIC4_QP0 = 620,
GAUDI_EVENT_NIC4_QP1 = 621,
+ GAUDI_EVENT_FW_ALIVE_S = 645,
GAUDI_EVENT_DEV_RESET_REQ = 646,
GAUDI_EVENT_PKT_QUEUE_OUT_SYNC = 647,
GAUDI_EVENT_FIX_POWER_ENV_S = 658,