Skip to content

DDR/L3 Scaling support on SDM845 and SC7180 SoCs

Sibi Sankar linux-arm-msm linux-pm lkml 6 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest posting 2/25 patches 2 repliesApplied
  2. v6 posting 1/25 patches 9 repliesSuperseded
  3. v55 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v412 patches16 repliesSuperseded
v3 RFC10 patches29 repliesSuperseded
v1 RFC4 patches5 repliesSuperseded

Changes in v6 from the cover letter

* Add global flag to distinguish between voltage update and opp add. Use the same flag before trying to scale ddr/l3 bw [Viresh]
* Use dev_pm_opp_find_freq_ceil to grab all opps [Viresh]
* Move dev_pm_opp_of_find_icc_paths into probe [Viresh]

Patches in v6 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/5cpufreq: blacklist SDM845 in cpufreq-dt-platdevdrivers/cpufreq/cpufreq-dt-platdev.c+1 -00 replies
2/5cpufreq: blacklist SC7180 in cpufreq-dt-platdevdrivers/cpufreq/cpufreq-dt-platdev.c+1 -00 replies
3/5OPP: Add and export helper to set bandwidthdrivers/opp/core.c include/linux/pm_opp.h+37 -00 replies
4/5cpufreq: qcom: Update the bandwidth levels on frequency changedrivers/cpufreq/qcom-cpufreq-hw.c+81 -21 reply
5/5cpufreq: qcom: Disable fast switch when scaling DDR/L3drivers/cpufreq/qcom-cpufreq-hw.c+1 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAmit KucheriaMatthias Kaehlcke
1/5R-b R-b
2/5R-b R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/5] DDR/L3 Scaling support on SDM845 and SC7180 SoCs

This patch series aims to extend cpu based scaling support to L3/DDR on SDM845 and SC7180 SoCs.

Patches [1-2] - Blacklist SDM845 and SC7180 in cpufreq-dt-platdev Patches [3-5] - Update bw levels based on cpu frequency change

V7:
* Fixup comments for correctness [Matthias]
* Initialize icc_scaling_enabled to false [Matthias]
* Make use of the increased per line character limit [Matthias]

V6:
* Add global flag to distinguish between voltage update and opp add. Use the same flag before trying to scale ddr/l3 bw [Viresh]
* Use dev_pm_opp_find_freq_ceil to grab all opps [Viresh]
* Move dev_pm_opp_of_find_icc_paths into probe [Viresh]

V5:
* Pick up R-bs from Amit
* Drop icc tag support/dt changes till the a consensus is achieved
* Use dev_pm_opp_adjust_voltage instead [Viresh]
* Drop dev_pm_opp_get_path_count [Saravana]
* Rework dev_pm_opp_set_bw

V4:
* Migrate to using Georgi's new bindings
* Misc fixups based on Matthias comments
* API fixups based on Bjorn's comments on v2
* Picked up a few R-bs from Matthias

v3:
* Migrated to using Saravana's opp-kBps bindings [1]
* Fixed some misc comments from Rajendra
* Added support for SC7180

v2:
* Incorporated Viresh's comments from:
https://lore.kernel.org/lkml/20190410102429.r6j6brm5kspmqxc3@vireshk-i7/
https://lore.kernel.org/lkml/20190410112516.gnh77jcwawvld6et@vireshk-i7/
* Dropped cpufreq-map passive governor

Sibi Sankar (5):
cpufreq: blacklist SDM845 in cpufreq-dt-platdev
cpufreq: blacklist SC7180 in cpufreq-dt-platdev
OPP: Add and export helper to set bandwidth
cpufreq: qcom: Update the bandwidth levels on frequency change
cpufreq: qcom: Disable fast switch when scaling DDR/L3

 drivers/cpufreq/cpufreq-dt-platdev.c |  2 +
 drivers/cpufreq/qcom-cpufreq-hw.c    | 86 ++++++++++++++++++++++++++--
 drivers/opp/core.c                   | 31 ++++++++++
 include/linux/pm_opp.h               |  6 ++
 4 files changed, 121 insertions(+), 4 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project