Skip to content

Flush RSC votes properly on more RPMh platforms

Konrad Dybcio linux-arm-msm linux-devicetree lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20230531-topic-rsc-35e838da9afb

Versions newest first

  1. v1 Latest8 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8dt-bindings: soc: qcom,rpmh-rsc: Require power-domainsDocumentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml+2 -01 reply
2/8arm64: dts: qcom: sm6350: Add PSCI idle statesarch/arm64/boot/dts/qcom/sm6350.dtsi+141 -00 replies
3/8arm64: dts: qcom: qdu1000: Flush RSC sleep & wake votesarch/arm64/boot/dts/qcom/qdu1000.dtsi+1 -00 replies
4/8arm64: dts: qcom: sc8180x: Flush RSC sleep & wake votesarch/arm64/boot/dts/qcom/sc8180x.dtsi+1 -00 replies
5/8arm64: dts: qcom: sdm670: Flush RSC sleep & wake votesarch/arm64/boot/dts/qcom/sdm670.dtsi+1 -00 replies
6/8arm64: dts: qcom: sdm845: Flush RSC sleep & wake votesarch/arm64/boot/dts/qcom/sdm845.dtsi+1 -00 replies
7/8arm64: dts: qcom: sm6350: Flush RSC sleep & wake votesarch/arm64/boot/dts/qcom/sm6350.dtsi+1 -00 replies
8/8arm64: dts: qcom: sm8550: Flush RSC sleep & wake votesarch/arm64/boot/dts/qcom/sm8550.dtsi+1 -00 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/8A-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v1 thread

Cover letter [PATCH 0/8] Flush RSC votes properly on more RPMh platforms

As pointed out in [1], the Linux implementation of RSC basically requires (even if not explicitly) that we point it to a power domain which represents the power state of the CPUs. In an effort to fulfill that requirement, make it required in bindings and hook it up on all platforms where I was able to do. This means all RPMh platforms, except

- SC7180
- SC7280
- SA8775

As there wasn't an idle-states setup (which may be on purpose for CrOS devices, certainly not for Windows SC7[12]80s) that I could validate. (Doug, Bartosz, could you guys look into your respective platforms of interest here?)

This series also adds support for idle states on SM6350, as I was able to add and test that.

[1] https://lore.kernel.org/linux-arm-msm/[email protected]/

---
Konrad Dybcio (8):
dt-bindings: soc: qcom,rpmh-rsc: Require power-domains
arm64: dts: qcom: sm6350: Add PSCI idle states
arm64: dts: qcom: qdu1000: Flush RSC sleep & wake votes
arm64: dts: qcom: sc8180x: Flush RSC sleep & wake votes
arm64: dts: qcom: sdm670: Flush RSC sleep & wake votes
arm64: dts: qcom: sdm845: Flush RSC sleep & wake votes
arm64: dts: qcom: sm6350: Flush RSC sleep & wake votes
arm64: dts: qcom: sm8550: Flush RSC sleep & wake votes

 .../bindings/soc/qcom/qcom,rpmh-rsc.yaml           |   2 +
 arch/arm64/boot/dts/qcom/qdu1000.dtsi              |   1 +
 arch/arm64/boot/dts/qcom/sc8180x.dtsi              |   1 +
 arch/arm64/boot/dts/qcom/sdm670.dtsi               |   1 +
 arch/arm64/boot/dts/qcom/sdm845.dtsi               |   1 +
 arch/arm64/boot/dts/qcom/sm6350.dtsi               | 142 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8550.dtsi               |   1 +
 7 files changed, 149 insertions(+)

---
base-commit: d4cee89031c80066ec461bb77b5e13a4f37d5fd2
change-id: 20230531-topic-rsc-35e838da9afb

Best regards,

Signature · 1 line
Konrad Dybcio <[email protected]>