]> Gentwo Git Trees - linux/.git/commitdiff
arm64: dts: qcom: sc7180: Fix ETMv4 power management patch
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 May 2020 18:44:57 +0000 (11:44 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 May 2020 18:44:57 +0000 (11:44 -0700)
The lack of unique context in  '0f1decaa83b7 ("arm64: dts: qcom: sc7180:
Support ETMv4 power management")' caused the patch to be applied
off-by-one. Move the "arm,coresight-loses-context-with-cpu" properties
down one node, so that it applies to the ETMs and not the replicator.

Reported-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180.dtsi

index 470f0b0ef8368b1f49e2941ce4711ab2ed48727c..24f913e9666d630561bff9b43859c04a0aa33977 100644 (file)
@@ -1732,7 +1732,6 @@ replicator@6b06000 {
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
-                       arm,coresight-loses-context-with-cpu;
 
                        out-ports {
                                port {
@@ -1892,6 +1891,7 @@ etm@7740000 {
 
                        clocks = <&aoss_qmp>;
                        clock-names = "apb_pclk";
+                       arm,coresight-loses-context-with-cpu;
 
                        out-ports {
                                port {