[PATCH v2 0/4] cpufreq: Set policy->min and max as real QoS constraints
From: Pierre Gondois
Date: Mon May 11 2026 - 09:56:28 EST
This patch is a follow-up from the serie:
- [PATCH v6 0/4] cpufreq: Introduce boost frequency QoS
https://lore.kernel.org/lkml/20260317101753.2284763-1-pierre.gondois@xxxxxxx/
v2:
- Split the patch in multiple steps
- Replace min/max -> min_freq/max_freq
- Add references to commit 521223d8b3ec ("cpufreq: Fix initialization
of min and max frequency QoS requests") to explain the intent
of the patch
- Update documentation (cpu-drivers.rst)
- Set default policy->min/max values before the call to
blocking_notifier_call_chain()
- Create a new cpufreq_policy_init_qos() function to put all
the QoS and policy->min/max logic inside.
- Didn't add Sumit's reviewed-by as the patches changed a bit.
v1:
https://lore.kernel.org/lkml/20260423084731.1090384-1-pierre.gondois@xxxxxxx/#t
Pierre Gondois (4):
cpufreq: Extract cpufreq_policy_init_qos() function
cpufreq: Set default policy->min/max values for all drivers
cpufreq: Remove driver default policy->min/max init
cpufreq: Use policy->min/max init as QoS request
Documentation/cpu-freq/cpu-drivers.rst | 10 +++-
drivers/cpufreq/amd-pstate.c | 14 +++---
drivers/cpufreq/cppc_cpufreq.c | 5 +-
drivers/cpufreq/cpufreq-nforce2.c | 4 +-
drivers/cpufreq/cpufreq.c | 68 ++++++++++++++++++--------
drivers/cpufreq/freq_table.c | 7 ++-
drivers/cpufreq/gx-suspmod.c | 2 +-
drivers/cpufreq/intel_pstate.c | 3 --
drivers/cpufreq/pcc-cpufreq.c | 10 ++--
drivers/cpufreq/pxa3xx-cpufreq.c | 5 +-
drivers/cpufreq/sh-cpufreq.c | 6 +--
drivers/cpufreq/virtual-cpufreq.c | 5 +-
12 files changed, 78 insertions(+), 61 deletions(-)
--
2.43.0