firmware: rsu: add device attributes to sysfs interface
authorRichard Gong <richard.gong@intel.com>
Mon, 15 Jun 2020 14:29:08 +0000 (09:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jul 2020 12:48:48 +0000 (14:48 +0200)
Add the following device attributes to Intel Stratix10 Remote System
Update (RSU) sysfs interface:
dcmf0
dcmf1
dcmf2
dcmf3
max_retry

Signed-off-by: Richard Gong <richard.gong@intel.com>
Link: https://lore.kernel.org/r/1592231348-31334-5-git-send-email-richard.gong@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu

index ae9af98..a8daceb 100644 (file)
@@ -126,3 +126,39 @@ Description:
                        1       no action
                        0       firmware record the notify code defined
                                in b[15:0].
+
+What:          /sys/devices/platform/stratix10-rsu.0/dcmf0
+Date:          June 2020
+KernelVersion: 5.8
+Contact:       Richard Gong <richard.gong@linux.intel.com>
+Description:
+               (RO) Decision firmware copy 0 version information.
+
+What:          /sys/devices/platform/stratix10-rsu.0/dcmf1
+Date:          June 2020
+KernelVersion: 5.8
+Contact:       Richard Gong <richard.gong@linux.intel.com>
+Description:
+               (RO) Decision firmware copy 1 version information.
+
+What:          /sys/devices/platform/stratix10-rsu.0/dcmf2
+Date:          June 2020
+KernelVersion: 5.8
+Contact:       Richard Gong <richard.gong@linux.intel.com>
+Description:
+               (RO) Decision firmware copy 2 version information.
+
+What:          /sys/devices/platform/stratix10-rsu.0/dcmf3
+Date:          June 2020
+KernelVersion: 5.8
+Contact:       Richard Gong <richard.gong@linux.intel.com>
+Description:
+               (RO) Decision firmware copy 3 version information.
+
+What:          /sys/devices/platform/stratix10-rsu.0/max_retry
+Date:          June 2020
+KernelVersion: 5.8
+Contact:       Richard Gong <richard.gong@linux.intel.com>
+Description:
+               (RO) max retry parameter is stored in the firmware
+               decision IO section, as a byte located at offset 0x18c.