aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
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 /tools/perf/scripts/python
parentarch_topology: Relocate cpu_scale to topology.[h|c] (diff)
downloadlinux-f1a50492f5bdb024a5eb4d1de6798369dbf93418.tar.gz
linux-f1a50492f5bdb024a5eb4d1de6798369dbf93418.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
ommit/arch/x86/Makefile_32.cpu?id=7fa6a2746616c8de4c40b748c2bb0656e00624ff&follow=1'>x86/build: Do not add -falign flags unconditionally for clangNathan Chancellor1-3/+9 2021-09-19kbuild: Fix comment typo in scripts/Makefile.modpostRamji Jiyani1-1/+1 2021-09-19sh: Add missing FORCE prerequisites in MakefileGeert Uytterhoeven1-8/+8 2021-09-19gen_compile_commands: fix missing 'sys' packageKortan1-0/+1 2021-09-19checkkconfigsymbols.py: Remove skipping of help lines in parse_kconfig_fileAriel Marcovitch1-8/+0 2021-09-19checkkconfigsymbols.py: Forbid passing 'HEAD' to --commitAriel Marcovitch1-0/+3 2021-09-18alpha: move __udiv_qrnnd library function to arch/alpha/lib/Linus Torvalds5-3/+5 2021-09-18alpha: mark 'Jensen' platform as no longer brokenLinus Torvalds2-6/+5 2021-09-18perf bpf: Ignore deprecation warning when using libbpf's btf__get_from_id()Andrii Nakryiko1-0/+3 2021-09-18libperf evsel: Make use of FD robust.Ian Rogers1-23/+41 2021-09-18perf machine: Initialize srcline string member in add_location structMichael Petlan1-0/+1 2021-09-18perf script: Fix ip display when type != attr->typeAdrian Hunter1-11/+13 2021-09-18perf annotate: Fix fused instr logic for assembly functionsRavi Bangoria3-17/+42 2021-09-18tgafb: clarify dependenciesLinus Torvalds1-1/+3 2021-09-18alpha: make 'Jensen' IO functions build againLinus Torvalds2-5/+5 2021-09-18spi: Fix tegra20 build with CONFIG_PM=nLinus Torvalds1-2/+2 2021-09-17dt-bindings: arm: Fix Toradex compatible typoDavid Heidelberg1-1/+1 2021-09-17of: restricted dma: Fix condition for rmem initDavid Brazdil1-1/+5 2021-09-16dt-bindings: arm: mediatek: mmsys: update mediatek,mmsys.yaml referenceMauro Carvalho Chehab1-1/+1 2021-09-16dt-bindings: net: dsa: sja1105: update nxp,sja1105.yaml referenceMauro Carvalho Chehab1-1/+1 2021-09-16net: 6pack: Fix tx timeout and slot timeGuenter Roeck1-2/+2 2021-09-16drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unusedArnd Bergmann1-1/+1 2021-09-16cpufreq: vexpress: Drop unused variableGuenter Roeck1-1/+0 2021-09-16alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatileGuenter Roeck1-3/+3 2021-09-163com 3c515: make it compile on 64-bit architecturesLinus Torvalds1-1/+1 2021-09-16arm64: Mark __stack_chk_guard as __ro_after_initDan Li1-1/+1 2021-09-16arm64/kernel: remove duplicate include in process.cLv Ruyi1-1/+0 2021-09-16arm64/sve: Use correct size when reinitialising SVE stateMark Brown1-1/+1