VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Omer Shpigelman <oshpigelman@habana.ai> 2021-08-16 13:27:12 +0300 committer: Oded Gabbay <ogabbay@kernel.org> 2021-09-01 18:38:24 +0300 commit: 71731090ab17a208a58020e4b342fdfee280458a parent: e1b61f8e975ae3de555b9fa1f2939f47c70afeba
Commit Summary:
habanalabs: add "in device creation" status
Diffstat:
1 file changed, 3 insertions, 1 deletion
diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h
index 6686b73a0834..7cc2a0f3f2f5 100644
--- a/include/uapi/misc/habanalabs.h
+++ b/include/uapi/misc/habanalabs.h
@@ -276,7 +276,9 @@ enum hl_device_status {
 	HL_DEVICE_STATUS_OPERATIONAL,
 	HL_DEVICE_STATUS_IN_RESET,
 	HL_DEVICE_STATUS_MALFUNCTION,
-	HL_DEVICE_STATUS_NEEDS_RESET
+	HL_DEVICE_STATUS_NEEDS_RESET,
+	HL_DEVICE_STATUS_IN_DEVICE_CREATION,
+	HL_DEVICE_STATUS_LAST = HL_DEVICE_STATUS_IN_DEVICE_CREATION
 };
 
 enum hl_server_type {