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)
commiteb5139d1a2272487b223c4879ecd2a1b48c2250e
tree2f578c921bc42f8bcb6bf29643e61ab4b8726ef2
parentf1a91645b7f0896a12f91b57e1c6492fe137f85b
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