[PATCH v2 0/7] cpufreq: improve frequency invariance support

Ionela Voinescu ionela.voinescu at arm.com
Wed Jul 22 05:37:25 EDT 2020


Hi guys,

Please find below the changes to this series:

v1 -> v2:
 - v1 can be found at [1]
 - No cpufreq flags are introduced
 - Previous patches 2/8 and 3/8 were squashed in this series under 1/7,
   to ensure bisection.
 - 2/7 was introduced as a proposal for Viresh's suggestion to use
   policy->cur in the call to arch_set_freq_scale() and is extended to
   support drivers that implement the target() callback as well
 - Additional commit message changes are added to 1/7 and 2/7, to
   clarify that the definition of arch_set_freq_scale() will filter 
   settings of the scale factor, if unwanted
 - 3/7 disables setting of the scale factor for
   CONFIG_BL_SWITCHER, as Dietmar suggested
 - Small change introduced in 4/7 to disable cpufreq-based frequency
   invariance for the users of the default arch_set_freq_scale() call
   which will not actually set a scale factor
 - build issue solved (reported by 0day test)
 - v2 is based on linux-next 20200716
 - all functional tests in v1 were repeated for v2

[1] https://lore.kernel.org/lkml/20200701090751.7543-1-ionela.voinescu@arm.com/


Let me know what you think!

Thank you,
Ionela.

Ionela Voinescu (3):
  cpufreq: set invariance scale factor on transition end
  arch_topology: disable frequency invariance for CONFIG_BL_SWITCHER
  cpufreq: report whether cpufreq supports Frequency Invariance (FI)

Valentin Schneider (4):
  cpufreq: move invariance setter calls in cpufreq core
  arch_topology,cpufreq,sched/core: constify arch_* cpumasks
  arch_topology,arm,arm64: define arch_scale_freq_invariant()
  cpufreq: make schedutil the default for arm and arm64

 arch/arm/include/asm/topology.h        |  1 +
 arch/arm64/include/asm/topology.h      |  1 +
 arch/arm64/kernel/topology.c           |  9 ++++-
 drivers/base/arch_topology.c           | 12 +++++--
 drivers/cpufreq/Kconfig                |  2 +-
 drivers/cpufreq/cpufreq-dt.c           | 10 +-----
 drivers/cpufreq/cpufreq.c              | 46 ++++++++++++++++++++++++--
 drivers/cpufreq/qcom-cpufreq-hw.c      |  9 +----
 drivers/cpufreq/scmi-cpufreq.c         | 12 ++-----
 drivers/cpufreq/scpi-cpufreq.c         |  6 +---
 drivers/cpufreq/vexpress-spc-cpufreq.c |  5 ---
 include/linux/arch_topology.h          |  6 ++--
 include/linux/cpufreq.h                |  8 ++++-
 kernel/sched/core.c                    |  2 +-
 14 files changed, 81 insertions(+), 48 deletions(-)


base-commit: 4c43049f19a280329c1d01699f3cc8ad6910cbbe
-- 
2.17.1




More information about the linux-arm-kernel mailing list