Commit de8773fd authored by Ariel Suller's avatar Ariel Suller Committed by Oded Gabbay
Browse files

accel/habanalabs: update boot status print



FW shutdown preparation status was added to spec.

Signed-off-by: default avatarAriel Suller <asuller@habana.ai>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 674f7779
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);