summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2021-03-03 13:23:47 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-04-09 14:09:23 +0300
commit2ea09537ad7747944c20ff70078be304a71b3e33 (patch)
tree3e6cab5c4e642f8ad627f18f5c8c9217c3b64d21 /drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
parenta5778d10a12da26de55f88a9d03cbea78f73f8c4 (diff)
downloadlwn-2ea09537ad7747944c20ff70078be304a71b3e33.tar.gz
lwn-2ea09537ad7747944c20ff70078be304a71b3e33.zip
habanalabs/gaudi: reset device upon BMC request
In case the BMC of the devices' box wants to initiate a reset of a specific device, it must go through driver. Once driver will receive the request it will initiate a hard reset flow. 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 0a0fa57024f8..25f835ba2cd6 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_BMC_RESET_CMD = 646,
GAUDI_EVENT_PKT_QUEUE_OUT_SYNC = 647,
GAUDI_EVENT_FIX_POWER_ENV_S = 658,
GAUDI_EVENT_FIX_POWER_ENV_E = 659,