Skip to content

cpufreq: CPPC: Avoid cur frequency modification on governor start

Prashant Malani linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpufreq: Add driver flag to avoid initial frequency verificationdrivers/cpufreq/cpufreq.c include/linux/cpufreq.h+12 -12 replies
2/2cpufreq: CPPC: Don't verify cur frequency on governor startdrivers/cpufreq/cppc_cpufreq.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.51.0.rc2.233.g662b1ed5c5-goog