Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces
authorVadim Pasternak <vadimp@mellanox.com>
Sun, 23 Jun 2019 12:16:29 +0000 (12:16 +0000)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 3 Jul 2019 12:37:33 +0000 (15:37 +0300)
Add documentation for the new attributes for exposing reset causes for
the next type of resets: caused by different watchdog, BIOS reload,
ASIC reset request.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Documentation/ABI/stable/sysfs-driver-mlxreg-io

index 156319f..28ca00c 100644 (file)
@@ -127,3 +127,23 @@ Description:       These files show the system reset cause, as following: ComEx
                the last reset cause.
 
                The files are read only.
+
+Date:          June 2019
+KernelVersion: 5.3
+Contact:       Vadim Pasternak <vadimpmellanox.com>
+Description:   These files show the system reset cause, as following:
+               COMEX thermal shutdown; wathchdog power off or reset was derived
+               by one of the next components: COMEX, switch board or by Small Form
+               Factor mezzanine, reset requested from ASIC, reset cuased by BIOS
+               reload. Value 1 in file means this is reset cause, 0 - otherwise.
+               Only one of the above causes could be 1 at the same time, representing
+               only last reset cause.
+
+               The files are read only.
+
+What:          /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_thermal
+What:          /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_comex_wd
+What:          /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_from_asic
+What:          /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_reload_bios
+What:          /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_sff_wd
+What:          /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/reset_swb_wd