summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2021-08-19 19:40:06 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-08-25 20:09:37 +0200
commitd0e936adbd2250cb03f2e840c6651d18edc22ace (patch)
tree990b12422e785b184f2001bfa5c15305fede82c7 /kernel
parent950809cd6ca2ff2e2bb9d826c4d9e35d134d7de0 (diff)
downloadlinux-d0e936adbd2250cb03f2e840c6651d18edc22ace.tar.bz2
cpufreq: intel_pstate: Process HWP Guaranteed change notification
It is possible that HWP guaranteed ratio is changed in response to change in power and thermal limits. For example when Intel Speed Select performance profile is changed or there is change in TDP, hardware can send notifications. It is possible that the guaranteed ratio is increased. This creates an issue when turbo is disabled, as the old limits set in MSR_HWP_REQUEST are still lower and hardware will clip to older limits. This change enables HWP interrupt and process HWP interrupts. When guaranteed is changed, calls cpufreq_update_policy() so that driver callbacks are called to update to new HWP limits. This callback is called from a delayed workqueue of 10ms to avoid frequent updates. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions