[PATCH v2 0/4] cpufreq: Set policy->min and max as real QoS constraints

Pierre Gondois posted 4 patches 1 month ago
There is a newer version of this series
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(-)
[PATCH v2 0/4] cpufreq: Set policy->min and max as real QoS constraints
Posted by Pierre Gondois 1 month ago
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@arm.com/

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@arm.com/#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
Re: [PATCH v2 0/4] cpufreq: Set policy->min and max as real QoS constraints
Posted by Viresh Kumar 3 weeks ago
On 11-05-26, 15:55, Pierre Gondois wrote:
> 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@arm.com/

Apart from a minor change in patch 2, looks fine now.

-- 
viresh