habanalabs/gaudi: reset device upon BMC request
authorOfir Bitton <obitton@habana.ai>
Wed, 3 Mar 2021 11:23:47 +0000 (13:23 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 9 Apr 2021 11:09:23 +0000 (14:09 +0300)
commit2ea09537ad7747944c20ff70078be304a71b3e33
tree3e6cab5c4e642f8ad627f18f5c8c9217c3b64d21
parenta5778d10a12da26de55f88a9d03cbea78f73f8c4
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>
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/include/gaudi/gaudi_async_events.h
drivers/misc/habanalabs/include/gaudi/gaudi_async_ids_map_extended.h