]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cpufreq: intel_pstate: Force HWP min perf before offline
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 16 Nov 2018 22:24:19 +0000 (14:24 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Nov 2018 21:31:58 +0000 (22:31 +0100)
commitaf3b7379e2d709f2d7c6966b8a6f5ec6bd134241
tree040b9b356a2a19f4f81de8ae041b3b18ff8542bf
parent6e218d21acef34b2db633c16cc6a7ebf5ba8c74d
cpufreq: intel_pstate: Force HWP min perf before offline

Force HWP Request MAX = HWP Request MIN = HWP Capability MIN and EPP to
0xFF. In this way the performance limits on the offlined CPU will not
influence performance limits on its sibling CPU, which is still online.

If the sibling CPU is calling for higher performance, it will impact the
max core performance. Here core performance will follow higher of the
performance requests from each sibling.

Reported-and-tested-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c