]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ABI: sysfs-devices-system-cpu: use wildcards on What definitions
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 16 Sep 2021 08:59:53 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 16:31:17 +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/d18385a391b6797373a5d1382ea024857fb29987.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-devices-system-cpu

index b46ef147616ab9dfc0b7595a15471cc1dd9bc49b..4ffc7e6ef40326609523f00df23f29a7be7e67fd 100644 (file)
@@ -135,7 +135,7 @@ Description:        Discover cpuidle policy and mechanism
                Documentation/driver-api/pm/cpuidle.rst for more information.
 
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/name
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/name
                /sys/devices/system/cpu/cpuX/cpuidle/stateN/latency
                /sys/devices/system/cpu/cpuX/cpuidle/stateN/power
                /sys/devices/system/cpu/cpuX/cpuidle/stateN/time
@@ -174,7 +174,7 @@ Description:
                              (a count).
                ======== ==== =================================================
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/desc
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/desc
 Date:          February 2008
 KernelVersion: v2.6.25
 Contact:       Linux power management list <linux-pm@vger.kernel.org>
@@ -182,7 +182,7 @@ Description:
                (RO) A small description about the idle state (string).
 
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/disable
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/disable
 Date:          March 2012
 KernelVersion: v3.10
 Contact:       Linux power management list <linux-pm@vger.kernel.org>
@@ -195,14 +195,14 @@ Description:
                does not reflect it. Likewise, if one enables a deep state but a
                lighter state still is disabled, then this has no effect.
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/default_status
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/default_status
 Date:          December 2019
 KernelVersion: v5.6
 Contact:       Linux power management list <linux-pm@vger.kernel.org>
 Description:
                (RO) The default status of this state, "enabled" or "disabled".
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/residency
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/residency
 Date:          March 2014
 KernelVersion: v3.15
 Contact:       Linux power management list <linux-pm@vger.kernel.org>
@@ -211,7 +211,7 @@ Description:
                time (in microseconds) this cpu should spend in this idle state
                to make the transition worth the effort.
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/s2idle/
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/s2idle/
 Date:          March 2018
 KernelVersion: v4.17
 Contact:       Linux power management list <linux-pm@vger.kernel.org>
@@ -221,7 +221,7 @@ Description:
                This attribute group is only present for states that can be
                used in suspend-to-idle with suspended timekeeping.
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/s2idle/time
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/s2idle/time
 Date:          March 2018
 KernelVersion: v4.17
 Contact:       Linux power management list <linux-pm@vger.kernel.org>
@@ -229,7 +229,7 @@ Description:
                Total time spent by the CPU in suspend-to-idle (with scheduler
                tick suspended) after requesting this state.
 
-What:          /sys/devices/system/cpu/cpuX/cpuidle/stateN/s2idle/usage
+What:          /sys/devices/system/cpu/cpuX/cpuidle/state<N>/s2idle/usage
 Date:          March 2018
 KernelVersion: v4.17
 Contact:       Linux power management list <linux-pm@vger.kernel.org>