[PATCH 0/2] cpufreq: CPPC: Avoid cur frequency modification on governor start

Prashant Malani posted 2 patches 1 month, 1 week ago
drivers/cpufreq/cppc_cpufreq.c |  3 ++-
drivers/cpufreq/cpufreq.c      |  3 ++-
include/linux/cpufreq.h        | 10 ++++++++++
3 files changed, 14 insertions(+), 2 deletions(-)
[PATCH 0/2] cpufreq: CPPC: Avoid cur frequency modification on governor start
Posted by Prashant Malani 1 month, 1 week ago
This is a short series that handles an issue where, on CPPC-based systems,
the cpu frequency was getting unintentionally set to the wrong value on
governor start ( and overriding the existing policy frequency) because of
unreliable AMU/CPPC counters.

This adds a governor flag that avoids the check against the CPPC AMU-based
frequency when the governor starts. It then modifies the CPPC CPU freq
driver to opt in to using this flag.

Prashant Malani (2):
  cpufreq: Add driver flag to avoid initial frequency verification
  cpufreq: CPPC: Don't verify cur frequency on governor start

 drivers/cpufreq/cppc_cpufreq.c |  3 ++-
 drivers/cpufreq/cpufreq.c      |  3 ++-
 include/linux/cpufreq.h        | 10 ++++++++++
 3 files changed, 14 insertions(+), 2 deletions(-)

-- 
2.51.0.rc2.233.g662b1ed5c5-goog