diff options
author | Ariel Suller <asuller@habana.ai> | 2023-09-11 17:43:07 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-10-09 12:37:23 +0300 |
commit | de8773fdc500cfeb78064e5b50540b1fbf10448e (patch) | |
tree | fbb8f4cc7a074cad0356106f3f4f2a882e4a02b5 | |
parent | 674f77798e432509e60919e2909fe6c72f5f2267 (diff) | |
download | linux-de8773fdc500cfeb78064e5b50540b1fbf10448e.tar.gz linux-de8773fdc500cfeb78064e5b50540b1fbf10448e.tar.bz2 linux-de8773fdc500cfeb78064e5b50540b1fbf10448e.zip |
accel/habanalabs: update boot status print
FW shutdown preparation status was added to spec.
Signed-off-by: Ariel Suller <asuller@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
-rw-r--r-- | drivers/accel/habanalabs/common/firmware_if.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/accel/habanalabs/common/firmware_if.c b/drivers/accel/habanalabs/common/firmware_if.c index 0fb360cca9cc..47e8384134aa 100644 --- a/drivers/accel/habanalabs/common/firmware_if.c +++ b/drivers/accel/habanalabs/common/firmware_if.c @@ -1464,6 +1464,10 @@ static void detect_cpu_boot_status(struct hl_device *hdev, u32 status) dev_err(hdev->dev, "Device boot progress - Stuck in preboot after security initialization\n"); break; + case CPU_BOOT_STATUS_FW_SHUTDOWN_PREP: + dev_err(hdev->dev, + "Device boot progress - Stuck in preparation for shutdown\n"); + break; default: dev_err(hdev->dev, "Device boot progress - Invalid or unexpected status code %d\n", status); |