All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cpufreq: CPPC: Avoid cur frequency modification on governor start
@ 2025-08-23  0:17 Prashant Malani
  2025-08-23  0:17 ` [PATCH 1/2] cpufreq: Add driver flag to avoid initial frequency verification Prashant Malani
  2025-08-23  0:17 ` [PATCH 2/2] cpufreq: CPPC: Don't verify cur frequency on governor start Prashant Malani
  0 siblings, 2 replies; 5+ messages in thread
From: Prashant Malani @ 2025-08-23  0:17 UTC (permalink / raw)
  To: open list, open list:CPU FREQUENCY SCALING FRAMEWORK,
	Rafael J. Wysocki, Viresh Kumar
  Cc: Beata Michalska, Prashant Malani

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-08-25  7:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-23  0:17 [PATCH 0/2] cpufreq: CPPC: Avoid cur frequency modification on governor start Prashant Malani
2025-08-23  0:17 ` [PATCH 1/2] cpufreq: Add driver flag to avoid initial frequency verification Prashant Malani
2025-08-25  4:56   ` Viresh Kumar
2025-08-25  7:49     ` Beata Michalska
2025-08-23  0:17 ` [PATCH 2/2] cpufreq: CPPC: Don't verify cur frequency on governor start Prashant Malani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.