Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tools/power x86_energy_perf_policy.8: Emphasize preference for SW interfaces

This tool was originally written when Linux had no standard
interface for EPB, or HWP support.

Retain the capability to manage a system w/o any kernel PM support,
but prefer the standard kernel interfaces, when avaialble.

(not doing so led to a confusing conflict between a p-state limit
request made via cpufreq and modified by the intel-pstate driver,
versus the raw MSR write made by this utility)

Signed-off-by: Len Brown <len.brown@intel.com>

Len Brown 66f43052 a648e089

+11 -4
+11 -4
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.8
··· 2 2 .\" Distributed under the GPL, Copyleft 1994. 3 3 .TH X86_ENERGY_PERF_POLICY 8 4 4 .SH NAME 5 - x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers 5 + x86_energy_perf_policy \- Manage Energy vs. Performance Policy 6 6 .SH SYNOPSIS 7 7 .B x86_energy_perf_policy 8 8 .RB "[ options ] [ scope ] [field \ value]" ··· 19 19 .SH DESCRIPTION 20 20 \fBx86_energy_perf_policy\fP 21 21 displays and updates energy-performance policy settings specific to 22 - Intel Architecture Processors. Settings are accessed via Model Specific Register (MSR) 23 - updates, no matter if the Linux cpufreq sub-system is enabled or not. 22 + Intel Architecture Processors. It summarizes settings available 23 + in standard Linux interfaces (eg. cpufreq), 24 + and also decodes underlying Model Specific Register (MSRs). 25 + While \fBx86_energy_perf_policy\fP can manage energy-performance policy 26 + using only MSR access, it prefers standard 27 + Linux kernel interfaces, when they are available. 24 28 29 + .SH BACKGROUND 25 30 Policy in MSR_IA32_ENERGY_PERF_BIAS (EPB) 26 31 may affect a wide range of hardware decisions, 27 32 such as how aggressively the hardware enters and exits CPU idle states (C-states) ··· 205 200 .SH FILES 206 201 .ta 207 202 .nf 208 - /dev/cpu/*/msr 203 + EPB: /sys/devices/system/cpu/cpu*/power/energy_perf_bias 204 + EPP: /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference 205 + MSR: /dev/cpu/*/msr 209 206 .fi 210 207 .SH "SEE ALSO" 211 208 .nf