summaryrefslogtreecommitdiffstats
path: root/Documentation/cpu-freq/intel-pstate.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/cpu-freq/intel-pstate.txt')
-rw-r--r--Documentation/cpu-freq/intel-pstate.txt21
1 files changed, 11 insertions, 10 deletions
diff --git a/Documentation/cpu-freq/intel-pstate.txt b/Documentation/cpu-freq/intel-pstate.txt
index 655750743fb0..be8d4006bf76 100644
--- a/Documentation/cpu-freq/intel-pstate.txt
+++ b/Documentation/cpu-freq/intel-pstate.txt
@@ -3,24 +3,25 @@ Intel P-state driver
3 3
4This driver provides an interface to control the P state selection for 4This driver provides an interface to control the P state selection for
5SandyBridge+ Intel processors. The driver can operate two different 5SandyBridge+ Intel processors. The driver can operate two different
6modes based on the processor model legacy and Hardware P state (HWP) 6modes based on the processor model, legacy mode and Hardware P state (HWP)
7mode. 7mode.
8 8
9In legacy mode the driver implements a scaling driver with an internal 9In legacy mode, the Intel P-state implements two internal governors,
10governor for Intel Core processors. The driver follows the same model 10performance and powersave, that differ from the general cpufreq governors of
11as the Transmeta scaling driver (longrun.c) and implements the 11the same name (the general cpufreq governors implement target(), whereas the
12setpolicy() instead of target(). Scaling drivers that implement 12internal Intel P-state governors implement setpolicy()). The internal
13setpolicy() are assumed to implement internal governors by the cpufreq 13performance governor sets the max_perf_pct and min_perf_pct to 100; that is,
14core. All the logic for selecting the current P state is contained 14the governor selects the highest available P state to maximize the performance
15within the driver; no external governor is used by the cpufreq core. 15of the core. The internal powersave governor selects the appropriate P state
16based on the current load on the CPU.
16 17
17In HWP mode P state selection is implemented in the processor 18In HWP mode P state selection is implemented in the processor
18itself. The driver provides the interfaces between the cpufreq core and 19itself. The driver provides the interfaces between the cpufreq core and
19the processor to control P state selection based on user preferences 20the processor to control P state selection based on user preferences
20and reporting frequency to the cpufreq core. In this mode the 21and reporting frequency to the cpufreq core. In this mode the
21internal governor code is disabled. 22internal Intel P-state governor code is disabled.
22 23
23In addtion to the interfaces provided by the cpufreq core for 24In addition to the interfaces provided by the cpufreq core for
24controlling frequency the driver provides sysfs files for 25controlling frequency the driver provides sysfs files for
25controlling P state selection. These files have been added to 26controlling P state selection. These files have been added to
26/sys/devices/system/cpu/intel_pstate/ 27/sys/devices/system/cpu/intel_pstate/