···11Intel P-state driver22--------------------3344-This driver implements a scaling driver with an internal governor for55-Intel Core processors. The driver follows the same model as the66-Transmeta scaling driver (longrun.c) and implements the setpolicy()77-instead of target(). Scaling drivers that implement setpolicy() are88-assumed to implement internal governors by the cpufreq core. All the99-logic for selecting the current P state is contained within the1010-driver; no external governor is used by the cpufreq core.44+This driver provides an interface to control the P state selection for55+SandyBridge+ Intel processors. The driver can operate two different66+modes based on the processor model legacy and Hardware P state (HWP)77+mode.1181212-Intel SandyBridge+ processors are supported.99+In legacy mode the driver implements a scaling driver with an internal1010+governor for Intel Core processors. The driver follows the same model1111+as the Transmeta scaling driver (longrun.c) and implements the1212+setpolicy() instead of target(). Scaling drivers that implement1313+setpolicy() are assumed to implement internal governors by the cpufreq1414+core. All the logic for selecting the current P state is contained1515+within the driver; no external governor is used by the cpufreq core.13161414-New sysfs files for controlling P state selection have been added to1717+In HWP mode P state selection is implemented in the processor1818+itself. The driver provides the interfaces between the cpufreq core and1919+the processor to control P state selection based on user preferences2020+and reporting frequency to the cpufreq core. In this mode the2121+internal governor code is disabled.2222+2323+In addtion to the interfaces provided by the cpufreq core for2424+controlling frequency the driver provides sysfs files for2525+controlling P state selection. These files have been added to1526/sys/devices/system/cpu/intel_pstate/16271728 max_perf_pct: limits the maximum P state that will be requested by···4433driver selects a single P state the actual frequency the processor4534will run at is selected by the processor itself.46354747-New debugfs files have also been added to /sys/kernel/debug/pstate_snb/3636+For legacy mode debugfs files have also been added to allow tuning of3737+the internal governor algorythm. These files are located at3838+/sys/kernel/debug/pstate_snb/ These files are NOT present in HWP mode.48394940 deadband5041 d_gain_pct
+3
Documentation/kernel-parameters.txt
···14461446 disable14471447 Do not enable intel_pstate as the default14481448 scaling driver for the supported processors14491449+ no_hwp14501450+ Do not enable hardware P state control (HWP)14511451+ if available.1449145214501453 intremap= [X86-64, Intel-IOMMU]14511454 on enable Interrupt Remapping (default)
···63636464config CPU_FREQ_DEFAULT_GOV_POWERSAVE6565 bool "powersave"6666- depends on EXPERT6766 select CPU_FREQ_GOV_POWERSAVE6867 help6968 Use the CPUFreq governor 'powersave' as default. This sets···244245 support software configurable cpu frequency.245246246247 Loongson2F and it's successors support this feature.248248+249249+ For details, take a look at <file:Documentation/cpu-freq/>.250250+251251+ If in doubt, say N.252252+253253+config LOONGSON1_CPUFREQ254254+ tristate "Loongson1 CPUFreq Driver"255255+ help256256+ This option adds a CPUFreq driver for loongson1 processors which257257+ support software configurable cpu frequency.247258248259 For details, take a look at <file:Documentation/cpu-freq/>.249260