accel/habanalabs: add fw status SHUTDOWN_PREP
authorDafna Hirschfeld <dhirschfeld@habana.ai>
Thu, 7 Sep 2023 11:43:01 +0000 (14:43 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 9 Oct 2023 09:37:22 +0000 (12:37 +0300)
update hl_boot_if.h from specs to include
CPU_BOOT_STATUS_FW_SHUTDOWN_PREP

Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
include/linux/habanalabs/hl_boot_if.h

index 7de8a5786a36edc6147ab7d386d5a7b176baabf2..93366d5621fde59f68ebd7a5ae2ccd6e46398b79 100644 (file)
@@ -394,6 +394,8 @@ enum cpu_boot_status {
        CPU_BOOT_STATUS_WAITING_FOR_BOOT_FIT = 16,
        /* Internal Security has been initialized, device can be accessed */
        CPU_BOOT_STATUS_SECURITY_READY = 17,
+       /* FW component is preparing to shutdown and communication with host is not available */
+       CPU_BOOT_STATUS_FW_SHUTDOWN_PREP = 18,
 };
 
 enum kmd_msg {