···6262Active Mode6363-----------64646565-This is the default operation mode of ``intel_pstate``. If it works in this6666-mode, the ``scaling_driver`` policy attribute in ``sysfs`` for all ``CPUFreq``6767-policies contains the string "intel_pstate".6565+This is the default operation mode of ``intel_pstate`` for processors with6666+hardware-managed P-states (HWP) support. If it works in this mode, the6767+``scaling_driver`` policy attribute in ``sysfs`` for all ``CPUFreq`` policies6868+contains the string "intel_pstate".68696970In this mode the driver bypasses the scaling governors layer of ``CPUFreq`` and7071provides its own scaling algorithms for P-state selection. Those algorithms···139138Active Mode Without HWP140139~~~~~~~~~~~~~~~~~~~~~~~141140142142-This is the default operation mode for processors that do not support the HWP143143-feature. It also is used by default with the ``intel_pstate=no_hwp`` argument144144-in the kernel command line. However, in this mode ``intel_pstate`` may refuse145145-to work with the given processor if it does not recognize it. [Note that146146-``intel_pstate`` will never refuse to work with any processor with the HWP147147-feature enabled.]141141+This operation mode is optional for processors that do not support the HWP142142+feature or when the ``intel_pstate=no_hwp`` argument is passed to the kernel in143143+the command line. The active mode is used in those cases if the144144+``intel_pstate=active`` argument is passed to the kernel in the command line.145145+In this mode ``intel_pstate`` may refuse to work with processors that are not146146+recognized by it. [Note that ``intel_pstate`` will never refuse to work with147147+any processor with the HWP feature enabled.]148148149149In this mode ``intel_pstate`` registers utilization update callbacks with the150150CPU scheduler in order to run a P-state selection algorithm, either···190188Passive Mode191189------------192190193193-This mode is used if the ``intel_pstate=passive`` argument is passed to the194194-kernel in the command line (it implies the ``intel_pstate=no_hwp`` setting too).195195-Like in the active mode without HWP support, in this mode ``intel_pstate`` may196196-refuse to work with the given processor if it does not recognize it.191191+This is the default operation mode of ``intel_pstate`` for processors without192192+hardware-managed P-states (HWP) support. It is always used if the193193+``intel_pstate=passive`` argument is passed to the kernel in the command line194194+regardless of whether or not the given processor supports HWP. [Note that the195195+``intel_pstate=no_hwp`` setting implies ``intel_pstate=passive`` if it is used196196+without ``intel_pstate=active``.] Like in the active mode without HWP support,197197+in this mode ``intel_pstate`` may refuse to work with processors that are not198198+recognized by it.197199198200If the driver works in this mode, the ``scaling_driver`` policy attribute in199201``sysfs`` for all ``CPUFreq`` policies contains the string "intel_cpufreq".
+2-1
drivers/cpufreq/intel_pstate.c
···27712771 pr_info("Invalid MSRs\n");27722772 return -ENODEV;27732773 }27742774+ /* Without HWP start in the passive mode. */27752775+ default_driver = &intel_cpufreq;2774277627752777hwp_cpu_matched:27762778 /*···28182816 if (!strcmp(str, "disable")) {28192817 no_load = 1;28202818 } else if (!strcmp(str, "passive")) {28212821- pr_info("Passive mode enabled\n");28222819 default_driver = &intel_cpufreq;28232820 no_hwp = 1;28242821 }