cpufreq: Migrate users of policy notifiers to QoS requests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 13 repliesIn review
- v110 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Added Acked-by tags
- Reordered to keep cleanups at the bottom
- Rebased over 5.3-rc1
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | cpufreq: Add policy create/remove notifiersdrivers/ include/ | +16 | 0 replies | |
| 2/10 | thermal: cpu_cooling: Switch to QoS requests instead of cpufreq notifierdrivers/ | +26 | 0 replies | |
| 3/10 | powerpc: macintosh: Switch to QoS requests instead of cpufreq notifierdrivers/ | +50 | 0 replies | |
| 4/10 | cpufreq: powerpc_cbe: Switch to QoS requests instead of cpufreq notifierdrivers/ drivers/ drivers/ | +86 | 6 replies | |
| 5/10 | ACPI: cpufreq: Switch to QoS requests instead of cpufreq notifierdrivers/ drivers/ drivers/ +1 more | +137 | 7 replies | |
| 6/10 | arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFYdrivers/ | +1 | 1 reply | |
| 7/10 | video: sa1100fb: Remove cpufreq policy notifierdrivers/ drivers/ | +0 | 0 replies | |
| 8/10 | video: pxafb: Remove cpufreq policy notifierdrivers/ drivers/ | +0 | 0 replies | |
| 9/10 | cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier eventsdrivers/ include/ | +9 | 0 replies | |
| 10/10 | Documentation: cpufreq: Update policy notifier documentationDocumentation/ | +4 | 0 replies |
Reviews trailers per patch
3 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Bartlomiej Zolnierkiewicz | Greg Kroah-Hartman |
|---|---|---|
| 1/10 | ||
| 2/10 | ||
| 3/10 | ||
| 4/10 | ||
| 5/10 | ||
| 6/10 | A-b | |
| 7/10 | A-b | |
| 8/10 | A-b | |
| 9/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 00/10] cpufreq: Migrate users of policy notifiers to QoS requests
Hello,
Now that cpufreq core supports taking QoS requests for min/max cpu frequencies, lets migrate rest of the users to using them instead of the policy notifiers.
The CPUFREQ_NOTIFY and CPUFREQ_ADJUST events of the policy notifiers are removed as a result, but we have to add CPUFREQ_CREATE_POLICY and CPUFREQ_REMOVE_POLICY events to it for the acpi stuff specifically, though they are also used by arch_topology stuff now. So the policy notifiers aren't completely removed.
Boot tested on my x86 PC and ARM hikey board.
This has already gone through build bot for a few days now.
V1->V2:
- Added Acked-by tags
- Reordered to keep cleanups at the bottom
- Rebased over 5.3-rc1
--
viresh
Viresh Kumar (10):
cpufreq: Add policy create/remove notifiers
thermal: cpu_cooling: Switch to QoS requests instead of cpufreq
notifier
powerpc: macintosh: Switch to QoS requests instead of cpufreq notifier
cpufreq: powerpc_cbe: Switch to QoS requests instead of cpufreq
notifier
ACPI: cpufreq: Switch to QoS requests instead of cpufreq notifier
arch_topology: Use CPUFREQ_CREATE_POLICY instead of CPUFREQ_NOTIFY
video: sa1100fb: Remove cpufreq policy notifier
video: pxafb: Remove cpufreq policy notifier
cpufreq: Remove CPUFREQ_ADJUST and CPUFREQ_NOTIFY policy notifier
events
Documentation: cpufreq: Update policy notifier documentation
Documentation/cpu-freq/core.txt | 16 +-- drivers/acpi/processor_driver.c | 44 ++++++++- drivers/acpi/processor_perflib.c | 106 +++++++++----------- drivers/acpi/processor_thermal.c | 81 ++++++++------- drivers/base/arch_topology.c | 2 +- drivers/cpufreq/cpufreq.c | 51 ++++------ drivers/cpufreq/ppc_cbe_cpufreq.c | 19 +++- drivers/cpufreq/ppc_cbe_cpufreq.h | 8 ++ drivers/cpufreq/ppc_cbe_cpufreq_pmi.c | 96 +++++++++++------- drivers/macintosh/windfarm_cpufreq_clamp.c | 77 ++++++++++----- drivers/thermal/cpu_cooling.c | 110 +++++---------------- drivers/video/fbdev/pxafb.c | 21 ---- drivers/video/fbdev/pxafb.h | 1 - drivers/video/fbdev/sa1100fb.c | 27 ----- drivers/video/fbdev/sa1100fb.h | 1 - include/acpi/processor.h | 22 +++-- include/linux/cpufreq.h | 4 +- 17 files changed, 327 insertions(+), 359 deletions(-)
Signature · 1 line
2.21.0.rc0.269.g1a574e7a288b