diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-11-17 14:57:31 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-11-23 14:02:11 +0100 |
commit | ed38eb49d101e829ae0f8c0a0d3bf5cb6bcbc6b2 (patch) | |
tree | d8f66c6700c50fbd267b1c1708c95a398771e372 /drivers/pinctrl | |
parent | cd23f02f166892603eb9f2d488152b975872b682 (diff) | |
download | linux-ed38eb49d101e829ae0f8c0a0d3bf5cb6bcbc6b2.tar.bz2 |
cpufreq: intel_pstate: Fix active mode offline/online EPP handling
After commit 4adcf2e5829f ("cpufreq: intel_pstate: Add ->offline and
->online callbacks") the EPP value set by the "performance" scaling
algorithm in the active mode is not restored after an offline/online
cycle which replaces it with the saved EPP value coming from user
space.
Address this issue by forcing intel_pstate_hwp_set() to set a new
EPP value when it runs first time after online.
Fixes: 4adcf2e5829f ("cpufreq: intel_pstate: Add ->offline and ->online callbacks")
Link: https://lore.kernel.org/linux-pm/adc7132c8655bd4d1c8b6129578e931a14fe1db2.camel@linux.intel.com/
Reported-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: 5.9+ <stable@vger.kernel.org> # 5.9+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions