From b86b73ec0499a421a42b3e9ab4232de4f4659d31 Mon Sep 17 00:00:00 2001 From: Ofir Bitton <obitton@habana.ai> Date: Tue, 10 Jan 2023 21:43:28 +0200 Subject: [PATCH] habanalabs: update device status sysfs documentation As device status was changed recently, we must update the documentation as well. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> --- 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 13b5b2ec3be76..df2ca1a401b5a 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@kernel.org -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 -- GitLab