ABI: sysfs-class-mei: use wildcards on What definitions
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 16 Sep 2021 08:59:45 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 16:31:16 +0000 (18:31 +0200)
An "N" upper letter is not a wildcard, nor can easily be identified
by script, specially since the USB sysfs define things like.
bNumInterfaces. Use, instead, <N>, in order to let script/get_abi.pl
to convert it into a Regex.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/3789f936a637f1b4059400099ae7a592cd4df8f5.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-mei

index 5c52372..1db36dd 100644 (file)
@@ -6,7 +6,7 @@ Description:
                The mei/ class sub-directory belongs to mei device class
 
 
-What:          /sys/class/mei/meiN/
+What:          /sys/class/mei/mei<N>/
 Date:          May 2014
 KernelVersion: 3.17
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -14,7 +14,7 @@ Description:
                The /sys/class/mei/meiN directory is created for
                each probed mei device
 
-What:          /sys/class/mei/meiN/fw_status
+What:          /sys/class/mei/mei<N>/fw_status
 Date:          Nov 2014
 KernelVersion: 3.19
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -29,7 +29,7 @@ Description:  Display fw status registers content
                Also number of registers varies between 1 and 6
                depending on generation.
 
-What:          /sys/class/mei/meiN/hbm_ver
+What:          /sys/class/mei/mei<N>/hbm_ver
 Date:          Aug 2016
 KernelVersion: 4.9
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -38,7 +38,7 @@ Description:  Display the negotiated HBM protocol version.
                The HBM protocol version negotiated
                between the driver and the device.
 
-What:          /sys/class/mei/meiN/hbm_ver_drv
+What:          /sys/class/mei/mei<N>/hbm_ver_drv
 Date:          Aug 2016
 KernelVersion: 4.9
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -46,7 +46,7 @@ Description:  Display the driver HBM protocol version.
 
                The HBM protocol version supported by the driver.
 
-What:          /sys/class/mei/meiN/tx_queue_limit
+What:          /sys/class/mei/mei<N>/tx_queue_limit
 Date:          Jan 2018
 KernelVersion: 4.16
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -55,7 +55,7 @@ Description:  Configure tx queue limit
                Set maximal number of pending writes
                per opened session.
 
-What:          /sys/class/mei/meiN/fw_ver
+What:          /sys/class/mei/mei<N>/fw_ver
 Date:          May 2018
 KernelVersion: 4.18
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -66,7 +66,7 @@ Description:  Display the ME firmware version.
                There can be up to three such blocks for different
                FW components.
 
-What:          /sys/class/mei/meiN/dev_state
+What:          /sys/class/mei/mei<N>/dev_state
 Date:          Mar 2019
 KernelVersion: 5.1
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -81,7 +81,7 @@ Description:  Display the ME device state.
                POWER_DOWN
                POWER_UP
 
-What:          /sys/class/mei/meiN/trc
+What:          /sys/class/mei/mei<N>/trc
 Date:          Nov 2019
 KernelVersion: 5.5
 Contact:       Tomas Winkler <tomas.winkler@intel.com>
@@ -91,7 +91,7 @@ Description:  Display trc status register content
                status information into trc status register
                for BIOS and OS to monitor fw health.
 
-What:          /sys/class/mei/meiN/kind
+What:          /sys/class/mei/mei<N>/kind
 Date:          Jul 2020
 KernelVersion: 5.8
 Contact:       Tomas Winkler <tomas.winkler@intel.com>