linux/drivers/misc/habanalabs/include/gaudi
Oded Gabbay c83c417193 habanalabs: halt device CPU only upon certain reset
Currently the driver halts the device CPU in the halt engines function,
which halts all the engines of the ASIC. The problem is that if later on we
stop the reset process (due to inability to clean memory mappings in time),
the CPU will remain in halt mode. This creates many issues, such as
thermal/power control and FLR handling.

Therefore, move the halting of the device CPU to the very end of the reset
process, just before writing to the registers to initiate the reset. In
addition, the driver now needs to send a message to the device F/W to
disable it from sending interrupts to the host machine because during halt
engines function the driver disables the MSI/MSI-X interrupts.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
2020-07-24 20:31:36 +03:00
..
asic_reg habanalabs: halt device CPU only upon certain reset 2020-07-24 20:31:36 +03:00
gaudi.h
gaudi_async_events.h
gaudi_async_ids_map_extended.h habanalabs: move event handling to common firmware file 2020-05-19 14:48:41 +03:00
gaudi_coresight.h
gaudi_fw_if.h
gaudi_masks.h habanalabs: halt device CPU only upon certain reset 2020-07-24 20:31:36 +03:00
gaudi_packets.h habanalabs: Use mask instead of shift in sync stream registers 2020-07-24 20:31:34 +03:00
gaudi_reg_map.h