summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorKristen Carlson Accardi <kristen@linux.intel.com>2015-09-09 20:41:22 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-09 22:56:18 +0200
commit74da56ce5c6715630aed3ccc0fcb86a9210c1a56 (patch)
tree142d126a6f6d8612fcfe5c24cdac6d344dd14749 /drivers/hv
parentintel_pstate: Fix user input of min/max to legal policy region (diff)
downloadlinux-74da56ce5c6715630aed3ccc0fcb86a9210c1a56.tar.xz
linux-74da56ce5c6715630aed3ccc0fcb86a9210c1a56.zip
intel_pstate: fix PCT_TO_HWP macro
PCT_TO_HWP does not take the actual range of pstates exported by HWP_CAPABILITIES in account, and is broken on most platforms. Remove the macro and set the min and max pstate for hwp by determining the range and adjusting by the min and max percent limits values. Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions