Skip to content

Commit de8773f

Browse files
asullerogabbay
authored andcommitted
accel/habanalabs: update boot status print
FW shutdown preparation status was added to spec. Signed-off-by: Ariel Suller <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
1 parent 674f777 commit de8773f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/accel/habanalabs/common/firmware_if.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,10 @@ static void detect_cpu_boot_status(struct hl_device *hdev, u32 status)
14641464
dev_err(hdev->dev,
14651465
"Device boot progress - Stuck in preboot after security initialization\n");
14661466
break;
1467+
case CPU_BOOT_STATUS_FW_SHUTDOWN_PREP:
1468+
dev_err(hdev->dev,
1469+
"Device boot progress - Stuck in preparation for shutdown\n");
1470+
break;
14671471
default:
14681472
dev_err(hdev->dev,
14691473
"Device boot progress - Invalid or unexpected status code %d\n", status);

0 commit comments

Comments
 (0)