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

ABI: sysfs-devices-system-cpu: use cpuX instead of cpu#

Some What entries here use cpu# as a wildcard, while others
use, instead, cpuX.

As scripts/get_abi.pl doesn't consider "#" as a wildcard,
replace:

	cpu# -> cpuX

inside the file.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/60b1a79189d1a9d9f1c9c9c299770e69b18972fd.1632994837.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4aa5216c
...@@ -7,7 +7,7 @@ Description: ...@@ -7,7 +7,7 @@ Description:
Individual CPU attributes are contained in subdirectories Individual CPU attributes are contained in subdirectories
named by the kernel's logical CPU number, e.g.: named by the kernel's logical CPU number, e.g.:
/sys/devices/system/cpu/cpu#/ /sys/devices/system/cpu/cpuX/
What: /sys/devices/system/cpu/kernel_max What: /sys/devices/system/cpu/kernel_max
/sys/devices/system/cpu/offline /sys/devices/system/cpu/offline
...@@ -53,7 +53,7 @@ Description: Dynamic addition and removal of CPU's. This is not hotplug ...@@ -53,7 +53,7 @@ Description: Dynamic addition and removal of CPU's. This is not hotplug
the system. Information written to the file to remove CPU's the system. Information written to the file to remove CPU's
is architecture specific. is architecture specific.
What: /sys/devices/system/cpu/cpu#/node What: /sys/devices/system/cpu/cpuX/node
Date: October 2009 Date: October 2009
Contact: Linux memory management mailing list <linux-mm@kvack.org> Contact: Linux memory management mailing list <linux-mm@kvack.org>
Description: Discover NUMA node a CPU belongs to Description: Discover NUMA node a CPU belongs to
...@@ -67,41 +67,41 @@ Description: Discover NUMA node a CPU belongs to ...@@ -67,41 +67,41 @@ Description: Discover NUMA node a CPU belongs to
/sys/devices/system/cpu/cpu42/node2 -> ../../node/node2 /sys/devices/system/cpu/cpu42/node2 -> ../../node/node2
What: /sys/devices/system/cpu/cpu#/topology/core_id What: /sys/devices/system/cpu/cpuX/topology/core_id
/sys/devices/system/cpu/cpu#/topology/core_siblings /sys/devices/system/cpu/cpuX/topology/core_siblings
/sys/devices/system/cpu/cpu#/topology/core_siblings_list /sys/devices/system/cpu/cpuX/topology/core_siblings_list
/sys/devices/system/cpu/cpu#/topology/physical_package_id /sys/devices/system/cpu/cpuX/topology/physical_package_id
/sys/devices/system/cpu/cpu#/topology/thread_siblings /sys/devices/system/cpu/cpuX/topology/thread_siblings
/sys/devices/system/cpu/cpu#/topology/thread_siblings_list /sys/devices/system/cpu/cpuX/topology/thread_siblings_list
Date: December 2008 Date: December 2008
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Description: CPU topology files that describe a logical CPU's relationship Description: CPU topology files that describe a logical CPU's relationship
to other cores and threads in the same physical package. to other cores and threads in the same physical package.
One cpu# directory is created per logical CPU in the system, One cpuX directory is created per logical CPU in the system,
e.g. /sys/devices/system/cpu/cpu42/. e.g. /sys/devices/system/cpu/cpu42/.
Briefly, the files above are: Briefly, the files above are:
core_id: the CPU core ID of cpu#. Typically it is the core_id: the CPU core ID of cpuX. Typically it is the
hardware platform's identifier (rather than the kernel's). hardware platform's identifier (rather than the kernel's).
The actual value is architecture and platform dependent. The actual value is architecture and platform dependent.
core_siblings: internal kernel map of cpu#'s hardware threads core_siblings: internal kernel map of cpuX's hardware threads
within the same physical_package_id. within the same physical_package_id.
core_siblings_list: human-readable list of the logical CPU core_siblings_list: human-readable list of the logical CPU
numbers within the same physical_package_id as cpu#. numbers within the same physical_package_id as cpuX.
physical_package_id: physical package id of cpu#. Typically physical_package_id: physical package id of cpuX. Typically
corresponds to a physical socket number, but the actual value corresponds to a physical socket number, but the actual value
is architecture and platform dependent. is architecture and platform dependent.
thread_siblings: internal kernel map of cpu#'s hardware thread_siblings: internal kernel map of cpuX's hardware
threads within the same core as cpu# threads within the same core as cpuX
thread_siblings_list: human-readable list of cpu#'s hardware thread_siblings_list: human-readable list of cpuX's hardware
threads within the same core as cpu# threads within the same core as cpuX
See Documentation/admin-guide/cputopology.rst for more information. See Documentation/admin-guide/cputopology.rst for more information.
...@@ -237,7 +237,7 @@ Description: ...@@ -237,7 +237,7 @@ Description:
Total number of times this state has been requested by the CPU Total number of times this state has been requested by the CPU
while entering suspend-to-idle. while entering suspend-to-idle.
What: /sys/devices/system/cpu/cpu#/cpufreq/* What: /sys/devices/system/cpu/cpuX/cpufreq/*
Date: pre-git history Date: pre-git history
Contact: linux-pm@vger.kernel.org Contact: linux-pm@vger.kernel.org
Description: Discover and change clock speed of CPUs Description: Discover and change clock speed of CPUs
...@@ -252,7 +252,7 @@ Description: Discover and change clock speed of CPUs ...@@ -252,7 +252,7 @@ Description: Discover and change clock speed of CPUs
See files in Documentation/cpu-freq/ for more information. See files in Documentation/cpu-freq/ for more information.
What: /sys/devices/system/cpu/cpu#/cpufreq/freqdomain_cpus What: /sys/devices/system/cpu/cpuX/cpufreq/freqdomain_cpus
Date: June 2013 Date: June 2013
Contact: linux-pm@vger.kernel.org Contact: linux-pm@vger.kernel.org
Description: Discover CPUs in the same CPU frequency coordination domain Description: Discover CPUs in the same CPU frequency coordination domain
...@@ -301,16 +301,16 @@ Description: Processor frequency boosting control ...@@ -301,16 +301,16 @@ Description: Processor frequency boosting control
Documentation/admin-guide/pm/cpufreq.rst Documentation/admin-guide/pm/cpufreq.rst
What: /sys/devices/system/cpu/cpu#/crash_notes What: /sys/devices/system/cpu/cpuX/crash_notes
/sys/devices/system/cpu/cpu#/crash_notes_size /sys/devices/system/cpu/cpuX/crash_notes_size
Date: April 2013 Date: April 2013
Contact: kexec@lists.infradead.org Contact: kexec@lists.infradead.org
Description: address and size of the percpu note. Description: address and size of the percpu note.
crash_notes: the physical address of the memory that holds the crash_notes: the physical address of the memory that holds the
note of cpu#. note of cpuX.
crash_notes_size: size of the note of cpu#. crash_notes_size: size of the note of cpuX.
What: /sys/devices/system/cpu/intel_pstate/max_perf_pct What: /sys/devices/system/cpu/intel_pstate/max_perf_pct
...@@ -503,12 +503,12 @@ Description: Identifies the subset of CPUs in the system that can execute ...@@ -503,12 +503,12 @@ Description: Identifies the subset of CPUs in the system that can execute
If absent, then all or none of the CPUs can execute AArch32 If absent, then all or none of the CPUs can execute AArch32
applications and execve() will behave accordingly. applications and execve() will behave accordingly.
What: /sys/devices/system/cpu/cpu#/cpu_capacity What: /sys/devices/system/cpu/cpuX/cpu_capacity
Date: December 2016 Date: December 2016
Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Description: information about CPUs heterogeneity. Description: information about CPUs heterogeneity.
cpu_capacity: capacity of cpu#. cpu_capacity: capacity of cpuX.
What: /sys/devices/system/cpu/vulnerabilities What: /sys/devices/system/cpu/vulnerabilities
/sys/devices/system/cpu/vulnerabilities/meltdown /sys/devices/system/cpu/vulnerabilities/meltdown
...@@ -560,7 +560,7 @@ Description: Control Symmetric Multi Threading (SMT) ...@@ -560,7 +560,7 @@ Description: Control Symmetric Multi Threading (SMT)
If control status is "forceoff" or "notsupported" writes If control status is "forceoff" or "notsupported" writes
are rejected. are rejected.
What: /sys/devices/system/cpu/cpu#/power/energy_perf_bias What: /sys/devices/system/cpu/cpuX/power/energy_perf_bias
Date: March 2019 Date: March 2019
Contact: linux-pm@vger.kernel.org Contact: linux-pm@vger.kernel.org
Description: Intel Energy and Performance Bias Hint (EPB) Description: Intel Energy and Performance Bias Hint (EPB)
......
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