Commit 26d6ba2f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Greg Kroah-Hartman

ABI: sysfs-devices-system-cpu: use wildcards on What definitions

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: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/d18385a391b6797373a5d1382ea024857fb29987.1631782432.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5097586d
...@@ -135,7 +135,7 @@ Description: Discover cpuidle policy and mechanism ...@@ -135,7 +135,7 @@ Description: Discover cpuidle policy and mechanism
Documentation/driver-api/pm/cpuidle.rst for more information. 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/latency
/sys/devices/system/cpu/cpuX/cpuidle/stateN/power /sys/devices/system/cpu/cpuX/cpuidle/stateN/power
/sys/devices/system/cpu/cpuX/cpuidle/stateN/time /sys/devices/system/cpu/cpuX/cpuidle/stateN/time
...@@ -174,7 +174,7 @@ Description: ...@@ -174,7 +174,7 @@ Description:
(a count). (a count).
======== ==== ================================================= ======== ==== =================================================
What: /sys/devices/system/cpu/cpuX/cpuidle/stateN/desc What: /sys/devices/system/cpu/cpuX/cpuidle/state<N>/desc
Date: February 2008 Date: February 2008
KernelVersion: v2.6.25 KernelVersion: v2.6.25
Contact: Linux power management list <linux-pm@vger.kernel.org> Contact: Linux power management list <linux-pm@vger.kernel.org>
...@@ -182,7 +182,7 @@ Description: ...@@ -182,7 +182,7 @@ Description:
(RO) A small description about the idle state (string). (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 Date: March 2012
KernelVersion: v3.10 KernelVersion: v3.10
Contact: Linux power management list <linux-pm@vger.kernel.org> Contact: Linux power management list <linux-pm@vger.kernel.org>
...@@ -195,14 +195,14 @@ Description: ...@@ -195,14 +195,14 @@ Description:
does not reflect it. Likewise, if one enables a deep state but a does not reflect it. Likewise, if one enables a deep state but a
lighter state still is disabled, then this has no effect. 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 Date: December 2019
KernelVersion: v5.6 KernelVersion: v5.6
Contact: Linux power management list <linux-pm@vger.kernel.org> Contact: Linux power management list <linux-pm@vger.kernel.org>
Description: Description:
(RO) The default status of this state, "enabled" or "disabled". (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 Date: March 2014
KernelVersion: v3.15 KernelVersion: v3.15
Contact: Linux power management list <linux-pm@vger.kernel.org> Contact: Linux power management list <linux-pm@vger.kernel.org>
...@@ -211,7 +211,7 @@ Description: ...@@ -211,7 +211,7 @@ Description:
time (in microseconds) this cpu should spend in this idle state time (in microseconds) this cpu should spend in this idle state
to make the transition worth the effort. 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 Date: March 2018
KernelVersion: v4.17 KernelVersion: v4.17
Contact: Linux power management list <linux-pm@vger.kernel.org> Contact: Linux power management list <linux-pm@vger.kernel.org>
...@@ -221,7 +221,7 @@ Description: ...@@ -221,7 +221,7 @@ Description:
This attribute group is only present for states that can be This attribute group is only present for states that can be
used in suspend-to-idle with suspended timekeeping. 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 Date: March 2018
KernelVersion: v4.17 KernelVersion: v4.17
Contact: Linux power management list <linux-pm@vger.kernel.org> Contact: Linux power management list <linux-pm@vger.kernel.org>
...@@ -229,7 +229,7 @@ Description: ...@@ -229,7 +229,7 @@ Description:
Total time spent by the CPU in suspend-to-idle (with scheduler Total time spent by the CPU in suspend-to-idle (with scheduler
tick suspended) after requesting this state. 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 Date: March 2018
KernelVersion: v4.17 KernelVersion: v4.17
Contact: Linux power management list <linux-pm@vger.kernel.org> Contact: Linux power management list <linux-pm@vger.kernel.org>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment