summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>2025-04-18 19:55:04 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-05-07 21:56:55 +0200
commitf1a50492f5bdb024a5eb4d1de6798369dbf93418 (patch)
treeee16f8cae8fad5d027772d8cb32a244a4631b6e4 /scripts/lib/kdoc/kdoc_parser.py
parent6bceea7a1e076ef9d71b20d8dda2f7dc52bd34d2 (diff)
cpufreq: intel_pstate: Populate the cpu_capacity sysfs entries
Intel hybrid processors have CPUs of different capacity. Populate the interface /sys/devices/system/cpu/cpuN/cpu_capacity. This interface uses the per-CPU variable `cpu_scale`. On x86 this variable has no other use besides feeding the sysfs entries. Initialize it when setting CPU capacity for the scheduler and scale-invariant code. Feed it with arch_scale_cpu_capacity() as it gives capacity normalized to the interval [0, SCHED_CAPACITY_SCALE]. Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions