Skip to content

cpufreq: ondemand: Change the calculation of target frequency

Stratos Karafotis cpufreq linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 18 repliesIn review
  2. v22 of 3 patches 6 repliesSuperseded
  3. v11 patch 16 repliesSuperseded

Changes in v3 from the cover letter

- Reorder patches 2/3 and 3/3
- Fix typos in patch changelog

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cpufreq: ondemand: Change the calculation of target frequencydrivers/cpufreq/cpufreq_governor.c drivers/cpufreq/cpufreq_governor.h drivers/cpufreq/cpufreq_ondemand.c+8 -4217 replies
2/3cpufreq: Remove unused APERF/MPERF supportarch/x86/include/asm/processor.h drivers/cpufreq/Makefile drivers/cpufreq/acpi-cpufreq.c +2 more+1 -950 replies
3/3cpufreq: Remove unused function __cpufreq_driver_getavgdrivers/cpufreq/cpufreq.c include/linux/cpufreq.h+0 -180 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchViresh Kumar
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] cpufreq: ondemand: Change the calculation of target frequency

Changes since v2:
- Reorder patches 2/3 and 3/3
- Fix typos in patch changelog

Changes since v1:
- Use policy->cpuinfo.max_freq in the calculation formula of target frequency instead of policy->max
- Split the patch into 3 parts

Stratos Karafotis (3):
cpufreq: ondemand: Change the calculation of target frequency
cpufreq: Remove unused APERF/MPERF support
cpufreq: Remove unused function __cpufreq_driver_getavg

 arch/x86/include/asm/processor.h   | 29 ----------------------
 drivers/cpufreq/Makefile           |  2 +-
 drivers/cpufreq/acpi-cpufreq.c     |  5 ----
 drivers/cpufreq/cpufreq.c          | 12 ---------
 drivers/cpufreq/cpufreq_governor.c | 10 +-------
 drivers/cpufreq/cpufreq_governor.h |  1 -
 drivers/cpufreq/cpufreq_ondemand.c | 39 ++++++-----------------------
 drivers/cpufreq/mperf.c            | 51 --------------------------------------
 drivers/cpufreq/mperf.h            |  9 -------
 include/linux/cpufreq.h            |  6 -----
 10 files changed, 9 insertions(+), 155 deletions(-)
 delete mode 100644 drivers/cpufreq/mperf.c
 delete mode 100644 drivers/cpufreq/mperf.h
Signature · 1 line
1.8.1.4