intel_pstate: Fix "performance" mode behavior with HWP enabled
authorAlexandra Yates <alexandra.yates@linux.intel.com>
Wed, 18 Nov 2015 22:58:40 +0000 (14:58 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 25 Nov 2015 22:37:44 +0000 (23:37 +0100)
commit584ee3dcb1d6232857c1e38bb28d9f6bf0ec89f5
tree2436a5b54cdb62e6a8c4709be5dca9411d2ae912
parent73124ced9cd7d0bceab50888a3d3d3a3c8796b4c
intel_pstate: Fix "performance" mode behavior with HWP enabled

If hardware-driven P-state selection (HWP) is enabled, the
"performance" mode of intel_pstate should only allow the processor
to use the highest-performance P-state available.  That is not
the case currently, so make it actually happen.

Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Alexandra Yates <alexandra.yates@linux.intel.com>
[ rjw: Subject and changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c