]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Support HWP processors in all operation modes
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 22 Mar 2017 22:52:18 +0000 (23:52 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 24 Mar 2017 02:04:31 +0000 (03:04 +0100)
commit891159cdcfcec39a882123b683f834c0a3e368ab
tree2f578c921bc42f8bcb6bf29643e61ab4b8726ef2
parent34498f5bdeca188b6cc326f51c9a4e038665bfff
cpufreq: intel_pstate: Support HWP processors in all operation modes

Currently, some processors supporting HWP are only supported by
intel_pstate if HWP is actually going to be used and not supported
otherwise which is confusing.

Specifically, they are not supported if "intel_pstate=no_hwp" is
passed to the kernel in the command line or if the driver is started
in the passive mode ("intel_pstate=passive").

There is no real reason for that, because everything about those
processor is known anyway and the driver can work with them in all
modes, so make that happen, but use the load-based P-state selection
algorithm for the active mode "powersave" policy with them.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c