Commit 4dc7c580 authored by Bagas Sanjaya's avatar Bagas Sanjaya Committed by Oded Gabbay
Browse files

habanalabs: Fix list of /sys/class/habanalabs/hl<n>/status

Stephen Rothwell reported htmldocs warnings when merging accel tree:

Documentation/ABI/testing/sysfs-driver-habanalabs:201: ERROR: Unexpected indentation.
Documentation/ABI/testing/sysfs-driver-habanalabs:201: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/ABI/testing/sysfs-driver-habanalabs:201: ERROR: Unexpected indentation.
Documentation/ABI/testing/sysfs-driver-habanalabs:201: WARNING: Block quote ends without a blank line; unexpected unindent.

Fix these by fixing alignment of list of card status returned by
/sys/class/habanalabs/hl<n>/status.

Link: https://lore.kernel.org/linux-next/20230120130634.61c3e857@canb.auug.org.au/


Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 183ebe03
Loading
Loading
Loading
Loading
+12 −11
Original line number Diff line number Diff line
@@ -202,15 +202,16 @@ Date: Jan 2019
KernelVersion:  5.1
Contact:        ogabbay@kernel.org
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

                  * "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
                    is 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).