18c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/
28c2ecf20Sopenharmony_ciDate:		pre-git history
38c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
48c2ecf20Sopenharmony_ciDescription:
58c2ecf20Sopenharmony_ci		A collection of both global and individual CPU attributes
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci		Individual CPU attributes are contained in subdirectories
88c2ecf20Sopenharmony_ci		named by the kernel's logical CPU number, e.g.:
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu#/
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/kernel_max
138c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/offline
148c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/online
158c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/possible
168c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/present
178c2ecf20Sopenharmony_ciDate:		December 2008
188c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
198c2ecf20Sopenharmony_ciDescription:	CPU topology files that describe kernel limits related to
208c2ecf20Sopenharmony_ci		hotplug. Briefly:
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci		kernel_max: the maximum cpu index allowed by the kernel
238c2ecf20Sopenharmony_ci		configuration.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci		offline: cpus that are not online because they have been
268c2ecf20Sopenharmony_ci		HOTPLUGGED off or exceed the limit of cpus allowed by the
278c2ecf20Sopenharmony_ci		kernel configuration (kernel_max above).
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci		online: cpus that are online and being scheduled.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci		possible: cpus that have been allocated resources and can be
328c2ecf20Sopenharmony_ci		brought online if they are present.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci		present: cpus that have been identified as being present in
358c2ecf20Sopenharmony_ci		the system.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci		See Documentation/admin-guide/cputopology.rst for more information.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/probe
418c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/release
428c2ecf20Sopenharmony_ciDate:		November 2009
438c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
448c2ecf20Sopenharmony_ciDescription:	Dynamic addition and removal of CPU's.  This is not hotplug
458c2ecf20Sopenharmony_ci		removal, this is meant complete removal/addition of the CPU
468c2ecf20Sopenharmony_ci		from the system.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci		probe: writes to this file will dynamically add a CPU to the
498c2ecf20Sopenharmony_ci		system.  Information written to the file to add CPU's is
508c2ecf20Sopenharmony_ci		architecture specific.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci		release: writes to this file dynamically remove a CPU from
538c2ecf20Sopenharmony_ci		the system.  Information writtento the file to remove CPU's
548c2ecf20Sopenharmony_ci		is architecture specific.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu#/node
578c2ecf20Sopenharmony_ciDate:		October 2009
588c2ecf20Sopenharmony_ciContact:	Linux memory management mailing list <linux-mm@kvack.org>
598c2ecf20Sopenharmony_ciDescription:	Discover NUMA node a CPU belongs to
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci		When CONFIG_NUMA is enabled, a symbolic link that points
628c2ecf20Sopenharmony_ci		to the corresponding NUMA node directory.
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ci		For example, the following symlink is created for cpu42
658c2ecf20Sopenharmony_ci		in NUMA node 2:
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu42/node2 -> ../../node/node2
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu#/topology/core_id
718c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu#/topology/core_siblings
728c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu#/topology/core_siblings_list
738c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu#/topology/physical_package_id
748c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu#/topology/thread_siblings
758c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu#/topology/thread_siblings_list
768c2ecf20Sopenharmony_ciDate:		December 2008
778c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
788c2ecf20Sopenharmony_ciDescription:	CPU topology files that describe a logical CPU's relationship
798c2ecf20Sopenharmony_ci		to other cores and threads in the same physical package.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci		One cpu# directory is created per logical CPU in the system,
828c2ecf20Sopenharmony_ci		e.g. /sys/devices/system/cpu/cpu42/.
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ci		Briefly, the files above are:
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci		core_id: the CPU core ID of cpu#. Typically it is the
878c2ecf20Sopenharmony_ci		hardware platform's identifier (rather than the kernel's).
888c2ecf20Sopenharmony_ci		The actual value is architecture and platform dependent.
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ci		core_siblings: internal kernel map of cpu#'s hardware threads
918c2ecf20Sopenharmony_ci		within the same physical_package_id.
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci		core_siblings_list: human-readable list of the logical CPU
948c2ecf20Sopenharmony_ci		numbers within the same physical_package_id as cpu#.
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci		physical_package_id: physical package id of cpu#. Typically
978c2ecf20Sopenharmony_ci		corresponds to a physical socket number, but the actual value
988c2ecf20Sopenharmony_ci		is architecture and platform dependent.
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci		thread_siblings: internel kernel map of cpu#'s hardware
1018c2ecf20Sopenharmony_ci		threads within the same core as cpu#
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ci		thread_siblings_list: human-readable list of cpu#'s hardware
1048c2ecf20Sopenharmony_ci		threads within the same core as cpu#
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci		See Documentation/admin-guide/cputopology.rst for more information.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci
1098c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuidle/available_governors
1108c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuidle/current_driver
1118c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuidle/current_governor
1128c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuidle/current_governer_ro
1138c2ecf20Sopenharmony_ciDate:		September 2007
1148c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
1158c2ecf20Sopenharmony_ciDescription:	Discover cpuidle policy and mechanism
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci		Various CPUs today support multiple idle levels that are
1188c2ecf20Sopenharmony_ci		differentiated by varying exit latencies and power
1198c2ecf20Sopenharmony_ci		consumption during idle.
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_ci		Idle policy (governor) is differentiated from idle mechanism
1228c2ecf20Sopenharmony_ci		(driver).
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_ci		available_governors: (RO) displays a space separated list of
1258c2ecf20Sopenharmony_ci		available governors.
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci		current_driver: (RO) displays current idle mechanism.
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ci		current_governor: (RW) displays current idle policy. Users can
1308c2ecf20Sopenharmony_ci		switch the governor at runtime by writing to this file.
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ci		current_governor_ro: (RO) displays current idle policy.
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci		See Documentation/admin-guide/pm/cpuidle.rst and
1358c2ecf20Sopenharmony_ci		Documentation/driver-api/pm/cpuidle.rst for more information.
1368c2ecf20Sopenharmony_ci
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/name
1398c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpuidle/stateN/latency
1408c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpuidle/stateN/power
1418c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpuidle/stateN/time
1428c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpuidle/stateN/usage
1438c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpuidle/stateN/above
1448c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpuidle/stateN/below
1458c2ecf20Sopenharmony_ciDate:		September 2007
1468c2ecf20Sopenharmony_ciKernelVersion:	v2.6.24
1478c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
1488c2ecf20Sopenharmony_ciDescription:
1498c2ecf20Sopenharmony_ci		The directory /sys/devices/system/cpu/cpuX/cpuidle contains per
1508c2ecf20Sopenharmony_ci		logical CPU specific cpuidle information for each online cpu X.
1518c2ecf20Sopenharmony_ci		The processor idle states which are available for use have the
1528c2ecf20Sopenharmony_ci		following attributes:
1538c2ecf20Sopenharmony_ci
1548c2ecf20Sopenharmony_ci		======== ==== =================================================
1558c2ecf20Sopenharmony_ci		name:	 (RO) Name of the idle state (string).
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_ci		latency: (RO) The latency to exit out of this idle state (in
1588c2ecf20Sopenharmony_ci			      microseconds).
1598c2ecf20Sopenharmony_ci
1608c2ecf20Sopenharmony_ci		power:   (RO) The power consumed while in this idle state (in
1618c2ecf20Sopenharmony_ci			      milliwatts).
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ci		time:    (RO) The total time spent in this idle state
1648c2ecf20Sopenharmony_ci			      (in microseconds).
1658c2ecf20Sopenharmony_ci
1668c2ecf20Sopenharmony_ci		usage:	 (RO) Number of times this state was entered (a count).
1678c2ecf20Sopenharmony_ci
1688c2ecf20Sopenharmony_ci		above:	 (RO) Number of times this state was entered, but the
1698c2ecf20Sopenharmony_ci			      observed CPU idle duration was too short for it
1708c2ecf20Sopenharmony_ci			      (a count).
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ci		below:	 (RO) Number of times this state was entered, but the
1738c2ecf20Sopenharmony_ci			      observed CPU idle duration was too long for it
1748c2ecf20Sopenharmony_ci			      (a count).
1758c2ecf20Sopenharmony_ci		======== ==== =================================================
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/desc
1788c2ecf20Sopenharmony_ciDate:		February 2008
1798c2ecf20Sopenharmony_ciKernelVersion:	v2.6.25
1808c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
1818c2ecf20Sopenharmony_ciDescription:
1828c2ecf20Sopenharmony_ci		(RO) A small description about the idle state (string).
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ci
1858c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/disable
1868c2ecf20Sopenharmony_ciDate:		March 2012
1878c2ecf20Sopenharmony_ciKernelVersion:	v3.10
1888c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
1898c2ecf20Sopenharmony_ciDescription:
1908c2ecf20Sopenharmony_ci		(RW) Option to disable this idle state (bool). The behavior and
1918c2ecf20Sopenharmony_ci		the effect of the disable variable depends on the implementation
1928c2ecf20Sopenharmony_ci		of a particular governor. In the ladder governor, for example,
1938c2ecf20Sopenharmony_ci		it is not coherent, i.e. if one is disabling a light state, then
1948c2ecf20Sopenharmony_ci		all deeper states are disabled as well, but the disable variable
1958c2ecf20Sopenharmony_ci		does not reflect it. Likewise, if one enables a deep state but a
1968c2ecf20Sopenharmony_ci		lighter state still is disabled, then this has no effect.
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/default_status
1998c2ecf20Sopenharmony_ciDate:		December 2019
2008c2ecf20Sopenharmony_ciKernelVersion:	v5.6
2018c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
2028c2ecf20Sopenharmony_ciDescription:
2038c2ecf20Sopenharmony_ci		(RO) The default status of this state, "enabled" or "disabled".
2048c2ecf20Sopenharmony_ci
2058c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/residency
2068c2ecf20Sopenharmony_ciDate:		March 2014
2078c2ecf20Sopenharmony_ciKernelVersion:	v3.15
2088c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
2098c2ecf20Sopenharmony_ciDescription:
2108c2ecf20Sopenharmony_ci		(RO) Display the target residency i.e. the minimum amount of
2118c2ecf20Sopenharmony_ci		time (in microseconds) this cpu should spend in this idle state
2128c2ecf20Sopenharmony_ci		to make the transition worth the effort.
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/s2idle/
2158c2ecf20Sopenharmony_ciDate:		March 2018
2168c2ecf20Sopenharmony_ciKernelVersion:	v4.17
2178c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
2188c2ecf20Sopenharmony_ciDescription:
2198c2ecf20Sopenharmony_ci		Idle state usage statistics related to suspend-to-idle.
2208c2ecf20Sopenharmony_ci
2218c2ecf20Sopenharmony_ci		This attribute group is only present for states that can be
2228c2ecf20Sopenharmony_ci		used in suspend-to-idle with suspended timekeeping.
2238c2ecf20Sopenharmony_ci
2248c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/s2idle/time
2258c2ecf20Sopenharmony_ciDate:		March 2018
2268c2ecf20Sopenharmony_ciKernelVersion:	v4.17
2278c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
2288c2ecf20Sopenharmony_ciDescription:
2298c2ecf20Sopenharmony_ci		Total time spent by the CPU in suspend-to-idle (with scheduler
2308c2ecf20Sopenharmony_ci		tick suspended) after requesting this state.
2318c2ecf20Sopenharmony_ci
2328c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpuidle/stateN/s2idle/usage
2338c2ecf20Sopenharmony_ciDate:		March 2018
2348c2ecf20Sopenharmony_ciKernelVersion:	v4.17
2358c2ecf20Sopenharmony_ciContact:	Linux power management list <linux-pm@vger.kernel.org>
2368c2ecf20Sopenharmony_ciDescription:
2378c2ecf20Sopenharmony_ci		Total number of times this state has been requested by the CPU
2388c2ecf20Sopenharmony_ci		while entering suspend-to-idle.
2398c2ecf20Sopenharmony_ci
2408c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu#/cpufreq/*
2418c2ecf20Sopenharmony_ciDate:		pre-git history
2428c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2438c2ecf20Sopenharmony_ciDescription:	Discover and change clock speed of CPUs
2448c2ecf20Sopenharmony_ci
2458c2ecf20Sopenharmony_ci		Clock scaling allows you to change the clock speed of the
2468c2ecf20Sopenharmony_ci		CPUs on the fly. This is a nice method to save battery
2478c2ecf20Sopenharmony_ci		power, because the lower the clock speed, the less power
2488c2ecf20Sopenharmony_ci		the CPU consumes.
2498c2ecf20Sopenharmony_ci
2508c2ecf20Sopenharmony_ci		There are many knobs to tweak in this directory.
2518c2ecf20Sopenharmony_ci
2528c2ecf20Sopenharmony_ci		See files in Documentation/cpu-freq/ for more information.
2538c2ecf20Sopenharmony_ci
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu#/cpufreq/freqdomain_cpus
2568c2ecf20Sopenharmony_ciDate:		June 2013
2578c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
2588c2ecf20Sopenharmony_ciDescription:	Discover CPUs in the same CPU frequency coordination domain
2598c2ecf20Sopenharmony_ci
2608c2ecf20Sopenharmony_ci		freqdomain_cpus is the list of CPUs (online+offline) that share
2618c2ecf20Sopenharmony_ci		the same clock/freq domain (possibly at the hardware level).
2628c2ecf20Sopenharmony_ci		That information may be hidden from the cpufreq core and the
2638c2ecf20Sopenharmony_ci		value of related_cpus may be different from freqdomain_cpus. This
2648c2ecf20Sopenharmony_ci		attribute is useful for user space DVFS controllers to get better
2658c2ecf20Sopenharmony_ci		power/performance results for platforms using acpi-cpufreq.
2668c2ecf20Sopenharmony_ci
2678c2ecf20Sopenharmony_ci		This file is only present if the acpi-cpufreq driver is in use.
2688c2ecf20Sopenharmony_ci
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu*/cache/index3/cache_disable_{0,1}
2718c2ecf20Sopenharmony_ciDate:		August 2008
2728c2ecf20Sopenharmony_ciKernelVersion:	2.6.27
2738c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
2748c2ecf20Sopenharmony_ciDescription:	Disable L3 cache indices
2758c2ecf20Sopenharmony_ci
2768c2ecf20Sopenharmony_ci		These files exist in every CPU's cache/index3 directory. Each
2778c2ecf20Sopenharmony_ci		cache_disable_{0,1} file corresponds to one disable slot which
2788c2ecf20Sopenharmony_ci		can be used to disable a cache index. Reading from these files
2798c2ecf20Sopenharmony_ci		on a processor with this functionality will return the currently
2808c2ecf20Sopenharmony_ci		disabled index for that node. There is one L3 structure per
2818c2ecf20Sopenharmony_ci		node, or per internal node on MCM machines. Writing a valid
2828c2ecf20Sopenharmony_ci		index to one of these files will cause the specificed cache
2838c2ecf20Sopenharmony_ci		index to be disabled.
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci		All AMD processors with L3 caches provide this functionality.
2868c2ecf20Sopenharmony_ci		For details, see BKDGs at
2878c2ecf20Sopenharmony_ci		http://developer.amd.com/documentation/guides/Pages/default.aspx
2888c2ecf20Sopenharmony_ci
2898c2ecf20Sopenharmony_ci
2908c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpufreq/boost
2918c2ecf20Sopenharmony_ciDate:		August 2012
2928c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
2938c2ecf20Sopenharmony_ciDescription:	Processor frequency boosting control
2948c2ecf20Sopenharmony_ci
2958c2ecf20Sopenharmony_ci		This switch controls the boost setting for the whole system.
2968c2ecf20Sopenharmony_ci		Boosting allows the CPU and the firmware to run at a frequency
2978c2ecf20Sopenharmony_ci		beyound it's nominal limit.
2988c2ecf20Sopenharmony_ci
2998c2ecf20Sopenharmony_ci		More details can be found in
3008c2ecf20Sopenharmony_ci		Documentation/admin-guide/pm/cpufreq.rst
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu#/crash_notes
3048c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpu#/crash_notes_size
3058c2ecf20Sopenharmony_ciDate:		April 2013
3068c2ecf20Sopenharmony_ciContact:	kexec@lists.infradead.org
3078c2ecf20Sopenharmony_ciDescription:	address and size of the percpu note.
3088c2ecf20Sopenharmony_ci
3098c2ecf20Sopenharmony_ci		crash_notes: the physical address of the memory that holds the
3108c2ecf20Sopenharmony_ci		note of cpu#.
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_ci		crash_notes_size: size of the note of cpu#.
3138c2ecf20Sopenharmony_ci
3148c2ecf20Sopenharmony_ci
3158c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/intel_pstate/max_perf_pct
3168c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/intel_pstate/min_perf_pct
3178c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/intel_pstate/no_turbo
3188c2ecf20Sopenharmony_ciDate:		February 2013
3198c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
3208c2ecf20Sopenharmony_ciDescription:	Parameters for the Intel P-state driver
3218c2ecf20Sopenharmony_ci
3228c2ecf20Sopenharmony_ci		Logic for selecting the current P-state in Intel
3238c2ecf20Sopenharmony_ci		Sandybridge+ processors. The three knobs control
3248c2ecf20Sopenharmony_ci		limits for the P-state that will be requested by the
3258c2ecf20Sopenharmony_ci		driver.
3268c2ecf20Sopenharmony_ci
3278c2ecf20Sopenharmony_ci		max_perf_pct: limits the maximum P state that will be requested by
3288c2ecf20Sopenharmony_ci		the driver stated as a percentage of the available performance.
3298c2ecf20Sopenharmony_ci
3308c2ecf20Sopenharmony_ci		min_perf_pct: limits the minimum P state that will be requested by
3318c2ecf20Sopenharmony_ci		the driver stated as a percentage of the available performance.
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ci		no_turbo: limits the driver to selecting P states below the turbo
3348c2ecf20Sopenharmony_ci		frequency range.
3358c2ecf20Sopenharmony_ci
3368c2ecf20Sopenharmony_ci		More details can be found in
3378c2ecf20Sopenharmony_ci		Documentation/admin-guide/pm/intel_pstate.rst
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu*/cache/index*/<set_of_attributes_mentioned_below>
3408c2ecf20Sopenharmony_ciDate:		July 2014(documented, existed before August 2008)
3418c2ecf20Sopenharmony_ciContact:	Sudeep Holla <sudeep.holla@arm.com>
3428c2ecf20Sopenharmony_ci		Linux kernel mailing list <linux-kernel@vger.kernel.org>
3438c2ecf20Sopenharmony_ciDescription:	Parameters for the CPU cache attributes
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_ci		allocation_policy:
3468c2ecf20Sopenharmony_ci			- WriteAllocate:
3478c2ecf20Sopenharmony_ci					allocate a memory location to a cache line
3488c2ecf20Sopenharmony_ci					on a cache miss because of a write
3498c2ecf20Sopenharmony_ci			- ReadAllocate:
3508c2ecf20Sopenharmony_ci					allocate a memory location to a cache line
3518c2ecf20Sopenharmony_ci					on a cache miss because of a read
3528c2ecf20Sopenharmony_ci			- ReadWriteAllocate:
3538c2ecf20Sopenharmony_ci					both writeallocate and readallocate
3548c2ecf20Sopenharmony_ci
3558c2ecf20Sopenharmony_ci		attributes:
3568c2ecf20Sopenharmony_ci			    LEGACY used only on IA64 and is same as write_policy
3578c2ecf20Sopenharmony_ci
3588c2ecf20Sopenharmony_ci		coherency_line_size:
3598c2ecf20Sopenharmony_ci				     the minimum amount of data in bytes that gets
3608c2ecf20Sopenharmony_ci				     transferred from memory to cache
3618c2ecf20Sopenharmony_ci
3628c2ecf20Sopenharmony_ci		level:
3638c2ecf20Sopenharmony_ci			the cache hierarchy in the multi-level cache configuration
3648c2ecf20Sopenharmony_ci
3658c2ecf20Sopenharmony_ci		number_of_sets:
3668c2ecf20Sopenharmony_ci				total number of sets in the cache, a set is a
3678c2ecf20Sopenharmony_ci				collection of cache lines with the same cache index
3688c2ecf20Sopenharmony_ci
3698c2ecf20Sopenharmony_ci		physical_line_partition:
3708c2ecf20Sopenharmony_ci				number of physical cache line per cache tag
3718c2ecf20Sopenharmony_ci
3728c2ecf20Sopenharmony_ci		shared_cpu_list:
3738c2ecf20Sopenharmony_ci				the list of logical cpus sharing the cache
3748c2ecf20Sopenharmony_ci
3758c2ecf20Sopenharmony_ci		shared_cpu_map:
3768c2ecf20Sopenharmony_ci				logical cpu mask containing the list of cpus sharing
3778c2ecf20Sopenharmony_ci				the cache
3788c2ecf20Sopenharmony_ci
3798c2ecf20Sopenharmony_ci		size:
3808c2ecf20Sopenharmony_ci			the total cache size in kB
3818c2ecf20Sopenharmony_ci
3828c2ecf20Sopenharmony_ci		type:
3838c2ecf20Sopenharmony_ci			- Instruction: cache that only holds instructions
3848c2ecf20Sopenharmony_ci			- Data: cache that only caches data
3858c2ecf20Sopenharmony_ci			- Unified: cache that holds both data and instructions
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ci		ways_of_associativity:
3888c2ecf20Sopenharmony_ci			degree of freedom in placing a particular block
3898c2ecf20Sopenharmony_ci			of memory in the cache
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_ci		write_policy:
3928c2ecf20Sopenharmony_ci			- WriteThrough:
3938c2ecf20Sopenharmony_ci					data is written to both the cache line
3948c2ecf20Sopenharmony_ci					and to the block in the lower-level memory
3958c2ecf20Sopenharmony_ci			- WriteBack:
3968c2ecf20Sopenharmony_ci				     data is written only to the cache line and
3978c2ecf20Sopenharmony_ci				     the modified cache line is written to main
3988c2ecf20Sopenharmony_ci				     memory only when it is replaced
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ci
4018c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu*/cache/index*/id
4028c2ecf20Sopenharmony_ciDate:		September 2016
4038c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
4048c2ecf20Sopenharmony_ciDescription:	Cache id
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ci		The id provides a unique number for a specific instance of
4078c2ecf20Sopenharmony_ci		a cache of a particular type. E.g. there may be a level
4088c2ecf20Sopenharmony_ci		3 unified cache on each socket in a server and we may
4098c2ecf20Sopenharmony_ci		assign them ids 0, 1, 2, ...
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_ci		Note that id value can be non-contiguous. E.g. level 1
4128c2ecf20Sopenharmony_ci		caches typically exist per core, but there may not be a
4138c2ecf20Sopenharmony_ci		power of two cores on a socket, so these caches may be
4148c2ecf20Sopenharmony_ci		numbered 0, 1, 2, 3, 4, 5, 8, 9, 10, ...
4158c2ecf20Sopenharmony_ci
4168c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats
4178c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/turbo_stat
4188c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/sub_turbo_stat
4198c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/unthrottle
4208c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/powercap
4218c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/overtemp
4228c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/supply_fault
4238c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/overcurrent
4248c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/occ_reset
4258c2ecf20Sopenharmony_ciDate:		March 2016
4268c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
4278c2ecf20Sopenharmony_ci		Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
4288c2ecf20Sopenharmony_ciDescription:	POWERNV CPUFreq driver's frequency throttle stats directory and
4298c2ecf20Sopenharmony_ci		attributes
4308c2ecf20Sopenharmony_ci
4318c2ecf20Sopenharmony_ci		'cpuX/cpufreq/throttle_stats' directory contains the CPU frequency
4328c2ecf20Sopenharmony_ci		throttle stat attributes for the chip. The throttle stats of a cpu
4338c2ecf20Sopenharmony_ci		is common across all the cpus belonging to a chip. Below are the
4348c2ecf20Sopenharmony_ci		throttle attributes exported in the 'throttle_stats' directory:
4358c2ecf20Sopenharmony_ci
4368c2ecf20Sopenharmony_ci		- turbo_stat : This file gives the total number of times the max
4378c2ecf20Sopenharmony_ci		  frequency is throttled to lower frequency in turbo (at and above
4388c2ecf20Sopenharmony_ci		  nominal frequency) range of frequencies.
4398c2ecf20Sopenharmony_ci
4408c2ecf20Sopenharmony_ci		- sub_turbo_stat : This file gives the total number of times the
4418c2ecf20Sopenharmony_ci		  max frequency is throttled to lower frequency in sub-turbo(below
4428c2ecf20Sopenharmony_ci		  nominal frequency) range of frequencies.
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_ci		- unthrottle : This file gives the total number of times the max
4458c2ecf20Sopenharmony_ci		  frequency is unthrottled after being throttled.
4468c2ecf20Sopenharmony_ci
4478c2ecf20Sopenharmony_ci		- powercap : This file gives the total number of times the max
4488c2ecf20Sopenharmony_ci		  frequency is throttled due to 'Power Capping'.
4498c2ecf20Sopenharmony_ci
4508c2ecf20Sopenharmony_ci		- overtemp : This file gives the total number of times the max
4518c2ecf20Sopenharmony_ci		  frequency is throttled due to 'CPU Over Temperature'.
4528c2ecf20Sopenharmony_ci
4538c2ecf20Sopenharmony_ci		- supply_fault : This file gives the total number of times the
4548c2ecf20Sopenharmony_ci		  max frequency is throttled due to 'Power Supply Failure'.
4558c2ecf20Sopenharmony_ci
4568c2ecf20Sopenharmony_ci		- overcurrent : This file gives the total number of times the
4578c2ecf20Sopenharmony_ci		  max frequency is throttled due to 'Overcurrent'.
4588c2ecf20Sopenharmony_ci
4598c2ecf20Sopenharmony_ci		- occ_reset : This file gives the total number of times the max
4608c2ecf20Sopenharmony_ci		  frequency is throttled due to 'OCC Reset'.
4618c2ecf20Sopenharmony_ci
4628c2ecf20Sopenharmony_ci		The sysfs attributes representing different throttle reasons like
4638c2ecf20Sopenharmony_ci		powercap, overtemp, supply_fault, overcurrent and occ_reset map to
4648c2ecf20Sopenharmony_ci		the reasons provided by OCC firmware for throttling the frequency.
4658c2ecf20Sopenharmony_ci
4668c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats
4678c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/turbo_stat
4688c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/sub_turbo_stat
4698c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/unthrottle
4708c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/powercap
4718c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/overtemp
4728c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/supply_fault
4738c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/overcurrent
4748c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpufreq/policyX/throttle_stats/occ_reset
4758c2ecf20Sopenharmony_ciDate:		March 2016
4768c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
4778c2ecf20Sopenharmony_ci		Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
4788c2ecf20Sopenharmony_ciDescription:	POWERNV CPUFreq driver's frequency throttle stats directory and
4798c2ecf20Sopenharmony_ci		attributes
4808c2ecf20Sopenharmony_ci
4818c2ecf20Sopenharmony_ci		'policyX/throttle_stats' directory and all the attributes are same as
4828c2ecf20Sopenharmony_ci		the /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats directory and
4838c2ecf20Sopenharmony_ci		attributes which give the frequency throttle information of the chip.
4848c2ecf20Sopenharmony_ci
4858c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/regs/
4868c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/regs/identification/
4878c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/regs/identification/midr_el1
4888c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/cpuX/regs/identification/revidr_el1
4898c2ecf20Sopenharmony_ciDate:		June 2016
4908c2ecf20Sopenharmony_ciContact:	Linux ARM Kernel Mailing list <linux-arm-kernel@lists.infradead.org>
4918c2ecf20Sopenharmony_ciDescription:	AArch64 CPU registers
4928c2ecf20Sopenharmony_ci
4938c2ecf20Sopenharmony_ci		'identification' directory exposes the CPU ID registers for
4948c2ecf20Sopenharmony_ci		identifying model and revision of the CPU.
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu#/cpu_capacity
4978c2ecf20Sopenharmony_ciDate:		December 2016
4988c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
4998c2ecf20Sopenharmony_ciDescription:	information about CPUs heterogeneity.
5008c2ecf20Sopenharmony_ci
5018c2ecf20Sopenharmony_ci		cpu_capacity: capacity of cpu#.
5028c2ecf20Sopenharmony_ci
5038c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/vulnerabilities
5048c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/gather_data_sampling
5058c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/itlb_multihit
5068c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/l1tf
5078c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/mds
5088c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/meltdown
5098c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/mmio_stale_data
5108c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/reg_file_data_sampling
5118c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/retbleed
5128c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/spec_store_bypass
5138c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/spectre_v1
5148c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/spectre_v2
5158c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/srbds
5168c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/vulnerabilities/tsx_async_abort
5178c2ecf20Sopenharmony_ciDate:		January 2018
5188c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
5198c2ecf20Sopenharmony_ciDescription:	Information about CPU vulnerabilities
5208c2ecf20Sopenharmony_ci
5218c2ecf20Sopenharmony_ci		The files are named after the code names of CPU
5228c2ecf20Sopenharmony_ci		vulnerabilities. The output of those files reflects the
5238c2ecf20Sopenharmony_ci		state of the CPUs in the system. Possible output values:
5248c2ecf20Sopenharmony_ci
5258c2ecf20Sopenharmony_ci		================  ==============================================
5268c2ecf20Sopenharmony_ci		"Not affected"	  CPU is not affected by the vulnerability
5278c2ecf20Sopenharmony_ci		"Vulnerable"	  CPU is affected and no mitigation in effect
5288c2ecf20Sopenharmony_ci		"Mitigation: $M"  CPU is affected and mitigation $M is in effect
5298c2ecf20Sopenharmony_ci		================  ==============================================
5308c2ecf20Sopenharmony_ci
5318c2ecf20Sopenharmony_ci		See also: Documentation/admin-guide/hw-vuln/index.rst
5328c2ecf20Sopenharmony_ci
5338c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/smt
5348c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/smt/active
5358c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/smt/control
5368c2ecf20Sopenharmony_ciDate:		June 2018
5378c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
5388c2ecf20Sopenharmony_ciDescription:	Control Symetric Multi Threading (SMT)
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_ci		active:  Tells whether SMT is active (enabled and siblings online)
5418c2ecf20Sopenharmony_ci
5428c2ecf20Sopenharmony_ci		control: Read/write interface to control SMT. Possible
5438c2ecf20Sopenharmony_ci			 values:
5448c2ecf20Sopenharmony_ci
5458c2ecf20Sopenharmony_ci			 ================ =========================================
5468c2ecf20Sopenharmony_ci			 "on"		  SMT is enabled
5478c2ecf20Sopenharmony_ci			 "off"		  SMT is disabled
5488c2ecf20Sopenharmony_ci			 "forceoff"	  SMT is force disabled. Cannot be changed.
5498c2ecf20Sopenharmony_ci			 "notsupported"   SMT is not supported by the CPU
5508c2ecf20Sopenharmony_ci			 "notimplemented" SMT runtime toggling is not
5518c2ecf20Sopenharmony_ci					  implemented for the architecture
5528c2ecf20Sopenharmony_ci			 ================ =========================================
5538c2ecf20Sopenharmony_ci
5548c2ecf20Sopenharmony_ci			 If control status is "forceoff" or "notsupported" writes
5558c2ecf20Sopenharmony_ci			 are rejected.
5568c2ecf20Sopenharmony_ci
5578c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpu#/power/energy_perf_bias
5588c2ecf20Sopenharmony_ciDate:		March 2019
5598c2ecf20Sopenharmony_ciContact:	linux-pm@vger.kernel.org
5608c2ecf20Sopenharmony_ciDescription:	Intel Energy and Performance Bias Hint (EPB)
5618c2ecf20Sopenharmony_ci
5628c2ecf20Sopenharmony_ci		EPB for the given CPU in a sliding scale 0 - 15, where a value
5638c2ecf20Sopenharmony_ci		of 0 corresponds to a hint preference for highest performance
5648c2ecf20Sopenharmony_ci		and a value of 15 corresponds to the maximum energy savings.
5658c2ecf20Sopenharmony_ci
5668c2ecf20Sopenharmony_ci		In order to change the EPB value for the CPU, write either
5678c2ecf20Sopenharmony_ci		a number in the 0 - 15 sliding scale above, or one of the
5688c2ecf20Sopenharmony_ci		strings: "performance", "balance-performance", "normal",
5698c2ecf20Sopenharmony_ci		"balance-power", "power" (that represent values reflected by
5708c2ecf20Sopenharmony_ci		their meaning), to this attribute.
5718c2ecf20Sopenharmony_ci
5728c2ecf20Sopenharmony_ci		This attribute is present for all online CPUs supporting the
5738c2ecf20Sopenharmony_ci		Intel EPB feature.
5748c2ecf20Sopenharmony_ci
5758c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/umwait_control
5768c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/umwait_control/enable_c02
5778c2ecf20Sopenharmony_ci		/sys/devices/system/cpu/umwait_control/max_time
5788c2ecf20Sopenharmony_ciDate:		May 2019
5798c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
5808c2ecf20Sopenharmony_ciDescription:	Umwait control
5818c2ecf20Sopenharmony_ci
5828c2ecf20Sopenharmony_ci		enable_c02: Read/write interface to control umwait C0.2 state
5838c2ecf20Sopenharmony_ci			Read returns C0.2 state status:
5848c2ecf20Sopenharmony_ci				0: C0.2 is disabled
5858c2ecf20Sopenharmony_ci				1: C0.2 is enabled
5868c2ecf20Sopenharmony_ci
5878c2ecf20Sopenharmony_ci			Write 'y' or '1'  or 'on' to enable C0.2 state.
5888c2ecf20Sopenharmony_ci			Write 'n' or '0'  or 'off' to disable C0.2 state.
5898c2ecf20Sopenharmony_ci
5908c2ecf20Sopenharmony_ci			The interface is case insensitive.
5918c2ecf20Sopenharmony_ci
5928c2ecf20Sopenharmony_ci		max_time: Read/write interface to control umwait maximum time
5938c2ecf20Sopenharmony_ci			  in TSC-quanta that the CPU can reside in either C0.1
5948c2ecf20Sopenharmony_ci			  or C0.2 state. The time is an unsigned 32-bit number.
5958c2ecf20Sopenharmony_ci			  Note that a value of zero means there is no limit.
5968c2ecf20Sopenharmony_ci			  Low order two bits must be zero.
5978c2ecf20Sopenharmony_ci
5988c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/svm
5998c2ecf20Sopenharmony_ciDate:		August 2019
6008c2ecf20Sopenharmony_ciContact:	Linux kernel mailing list <linux-kernel@vger.kernel.org>
6018c2ecf20Sopenharmony_ci		Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
6028c2ecf20Sopenharmony_ciDescription:	Secure Virtual Machine
6038c2ecf20Sopenharmony_ci
6048c2ecf20Sopenharmony_ci		If 1, it means the system is using the Protected Execution
6058c2ecf20Sopenharmony_ci		Facility in POWER9 and newer processors. i.e., it is a Secure
6068c2ecf20Sopenharmony_ci		Virtual Machine.
6078c2ecf20Sopenharmony_ci
6088c2ecf20Sopenharmony_ciWhat:		/sys/devices/system/cpu/cpuX/purr
6098c2ecf20Sopenharmony_ciDate:		Apr 2005
6108c2ecf20Sopenharmony_ciContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
6118c2ecf20Sopenharmony_ciDescription:	PURR ticks for this CPU since the system boot.
6128c2ecf20Sopenharmony_ci
6138c2ecf20Sopenharmony_ci		The Processor Utilization Resources Register (PURR) is
6148c2ecf20Sopenharmony_ci		a 64-bit counter which provides an estimate of the
6158c2ecf20Sopenharmony_ci		resources used by the CPU thread. The contents of this
6168c2ecf20Sopenharmony_ci		register increases monotonically. This sysfs interface
6178c2ecf20Sopenharmony_ci		exposes the number of PURR ticks for cpuX.
6188c2ecf20Sopenharmony_ci
6198c2ecf20Sopenharmony_ciWhat: 		/sys/devices/system/cpu/cpuX/spurr
6208c2ecf20Sopenharmony_ciDate:		Dec 2006
6218c2ecf20Sopenharmony_ciContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
6228c2ecf20Sopenharmony_ciDescription:	SPURR ticks for this CPU since the system boot.
6238c2ecf20Sopenharmony_ci
6248c2ecf20Sopenharmony_ci		The Scaled Processor Utilization Resources Register
6258c2ecf20Sopenharmony_ci		(SPURR) is a 64-bit counter that provides a frequency
6268c2ecf20Sopenharmony_ci		invariant estimate of the resources used by the CPU
6278c2ecf20Sopenharmony_ci		thread. The contents of this register increases
6288c2ecf20Sopenharmony_ci		monotonically. This sysfs interface exposes the number
6298c2ecf20Sopenharmony_ci		of SPURR ticks for cpuX.
6308c2ecf20Sopenharmony_ci
6318c2ecf20Sopenharmony_ciWhat: 		/sys/devices/system/cpu/cpuX/idle_purr
6328c2ecf20Sopenharmony_ciDate:		Apr 2020
6338c2ecf20Sopenharmony_ciContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
6348c2ecf20Sopenharmony_ciDescription:	PURR ticks for cpuX when it was idle.
6358c2ecf20Sopenharmony_ci
6368c2ecf20Sopenharmony_ci		This sysfs interface exposes the number of PURR ticks
6378c2ecf20Sopenharmony_ci		for cpuX when it was idle.
6388c2ecf20Sopenharmony_ci
6398c2ecf20Sopenharmony_ciWhat: 		/sys/devices/system/cpu/cpuX/idle_spurr
6408c2ecf20Sopenharmony_ciDate:		Apr 2020
6418c2ecf20Sopenharmony_ciContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
6428c2ecf20Sopenharmony_ciDescription:	SPURR ticks for cpuX when it was idle.
6438c2ecf20Sopenharmony_ci
6448c2ecf20Sopenharmony_ci		This sysfs interface exposes the number of SPURR ticks
6458c2ecf20Sopenharmony_ci		for cpuX when it was idle.
646