[PATCH 01/10] habanalabs: update device status sysfs documentation

From: Oded Gabbay
Date: Thu Jan 19 2023 - 23:44:05 EST


From: Ofir Bitton <obitton@xxxxxxxxx>

As device status was changed recently, we must update the
documentation as well.

Signed-off-by: Ofir Bitton <obitton@xxxxxxxxx>
Reviewed-by: Oded Gabbay <ogabbay@xxxxxxxxxx>
Signed-off-by: Oded Gabbay <ogabbay@xxxxxxxxxx>
---
Documentation/ABI/testing/sysfs-driver-habanalabs | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/Documentation/ABI/testing/sysfs-driver-habanalabs b/Documentation/ABI/testing/sysfs-driver-habanalabs
index 13b5b2ec3be7..df2ca1a401b5 100644
--- a/Documentation/ABI/testing/sysfs-driver-habanalabs
+++ b/Documentation/ABI/testing/sysfs-driver-habanalabs
@@ -201,7 +201,18 @@ What: /sys/class/habanalabs/hl<n>/status
Date: Jan 2019
KernelVersion: 5.1
Contact: ogabbay@xxxxxxxxxx
-Description: Status of the card: "Operational", "Malfunction", "In reset".
+Description: Status of the card:
+ "operational" - Device is available for work.
+ "in reset" - Device is going through reset, will be available
+ shortly.
+ "disabled" - Device is not usable.
+ "needs reset" - Device is not usable until a hard reset will
+ be initiated.
+ "in device creation" - Device is not available yet, as it is
+ still initializing.
+ "in reset after device release" - Device is going through
+ a compute-reset which is executed after a device release
+ (relevant for Gaudi2 only).

What: /sys/class/habanalabs/hl<n>/thermal_ver
Date: Jan 2019
--
2.25.1