arm64: dts: msm8916: Properly deal with ETMv4 power management
authorMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 11 Feb 2020 18:30:11 +0000 (11:30 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 14 Feb 2020 05:31:08 +0000 (21:31 -0800)
Properly deal with ETMv4 power management by adding the
"coresight-loses-context-with-cpu" property.  Otherwise tracer
configuration is lost when CPUs enter deep idle states, resulting
in the failure of the trace session.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200211183011.24720-1-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 9f31064..cabfa35 100644 (file)
 
                        clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
                        clock-names = "apb_pclk", "atclk";
+                       arm,coresight-loses-context-with-cpu;
 
                        cpu = <&CPU0>;
 
 
                        clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
                        clock-names = "apb_pclk", "atclk";
+                       arm,coresight-loses-context-with-cpu;
 
                        cpu = <&CPU1>;
 
 
                        clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
                        clock-names = "apb_pclk", "atclk";
+                       arm,coresight-loses-context-with-cpu;
 
                        cpu = <&CPU2>;
 
 
                        clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
                        clock-names = "apb_pclk", "atclk";
+                       arm,coresight-loses-context-with-cpu;
 
                        cpu = <&CPU3>;