Skip to content

qcom: Add cpuidle to some platforms

Amit Kucheria linux-arm-kernel linux-arm-msm linux-devicetree lkml 2 versions – Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 25 repliesApplied
  2. v18 patches 27 repliesSuperseded

Changes in v2 from the cover letter

- Reworded changes to the idle-state documentation on Sudeep's feedback.
- Renamed several idle-state node names to be homogeneous across qcom platforms. We now use cpu_sleep_0_0 format for the node name while using LITTLE_CPU_SLEEP_0 format for labels to help differentiate the different states for different CPU types.
- Add a new patch to add capacity-dmips-mhz property for msm8996 to allow topology code to find its true capacity.
- Add power-collapse state to msm8998 in additon to the retention state.
- Added acks

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9arm64: dts: fsl: ls1028a: Fix entry-method property to reflect documentationarch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi+1 -10 replies
2/9Documentation: arm: Link idle-states binding to "enable-method" propertyDocumentation/devicetree/bindings/arm/idle-states.txt+10 -32 replies
3/9arm64: dts: qcom: msm8916: Add entry-method property for the idle-states nodearch/arm64/boot/dts/qcom/msm8916.dtsi+2 -01 reply
4/9arm64: dts: qcom: msm8916: Use more generic idle state namesarch/arm64/boot/dts/qcom/msm8916.dtsi+6 -51 reply
5/9arm64: dts: qcom: qcs404: Add PSCI cpuidle low power statesarch/arm64/boot/dts/qcom/qcs404.dtsi+18 -01 reply
6/9arm64: dts: qcom: msm8996: Add PSCI cpuidle low power statesarch/arm64/boot/dts/qcom/msm8996.dtsi+17 -03 replies
7/9arm64: dts: qcom: msm8998: Add PSCI cpuidle low power statesarch/arm64/boot/dts/qcom/msm8998.dtsi+50 -014 replies
8/9arm64: dts: qcom: sdm845: Add PSCI cpuidle low power statesarch/arm64/boot/dts/qcom/sdm845.dtsi+69 -01 reply
9/9arm64: dts: msm8996: Add proper capacity scaling for the cpusarch/arm64/boot/dts/qcom/msm8996.dtsi+4 -02 replies

Reviews trailers per patch

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

PatchSudeep HollaBjorn AnderssonNiklas CasselDaniel LezcanoVinod KoulEvan GreenMarc Gonzalez
1/9A-b R-b R-b
2/9A-b
3/9R-b A-b
4/9R-b A-b
5/9A-b R-b
6/9A-b
7/9A-b T-b
8/9A-b R-b
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/9] qcom: Add cpuidle to some platforms

Changes since v1:
- Reworded changes to the idle-state documentation on Sudeep's feedback.
- Renamed several idle-state node names to be homogeneous across qcom platforms. We now use cpu_sleep_0_0 format for the node name while using LITTLE_CPU_SLEEP_0 format for labels to help differentiate the different states for different CPU types.
- Add a new patch to add capacity-dmips-mhz property for msm8996 to allow topology code to find its true capacity.
- Add power-collapse state to msm8998 in additon to the retention state.
- Added acks

MSM8998 changes are untested for v2 because I couldn't access the mtp I usually have access to. Hopefully Marc and Sibi can help with testing.

Description
-----------
Fix up a few entry-method="psci" issues and then add cpuidle low power states for msm8996, msm8998, qcs404, sdm845. All these have been tested to only make sure that the C-states are entered from Linux point-of-view.

We will continue to add more states and make power measurements to tweak some of these numbers, but getting these merged will allow other people to use these platforms to work on cpuidle, eas and related topics.

Amit Kucheria (7):
arm64: dts: fsl: ls1028a: Fix entry-method property to reflect
documentation
Documentation: arm: Link idle-states binding to "enable-method"
property
arm64: dts: qcom: msm8916: Add entry-method property for the
idle-states node
arm64: dts: qcom: msm8916: Use more generic idle state names
arm64: dts: qcom: msm8996: Add PSCI cpuidle low power states
arm64: dts: qcom: msm8998: Add PSCI cpuidle low power states
arm64: dts: msm8996: Add proper capacity scaling for the cpus

Niklas Cassel (1):
arm64: dts: qcom: qcs404: Add PSCI cpuidle low power states

Raju P.L.S.S.S.N (1):
arm64: dts: qcom: sdm845: Add PSCI cpuidle low power states

 .../devicetree/bindings/arm/idle-states.txt   | 13 +++-
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi |  2 +-
 arch/arm64/boot/dts/qcom/msm8916.dtsi         | 13 ++--
 arch/arm64/boot/dts/qcom/msm8996.dtsi         | 21 ++++++
 arch/arm64/boot/dts/qcom/msm8998.dtsi         | 50 ++++++++++++++
 arch/arm64/boot/dts/qcom/qcs404.dtsi          | 18 +++++
 arch/arm64/boot/dts/qcom/sdm845.dtsi          | 69 +++++++++++++++++++
 7 files changed, 177 insertions(+), 9 deletions(-)
Signature · 1 line
2.17.1