Message ID | 20200211183011.24720-1-mathieu.poirier@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | ef71fdb266d78bc800877978ad982e2f004b7bee |
Headers | show |
Series | arm64: dts: msm8916: Properly deal with ETMv4 power management | expand |
On Tue 11 Feb 10:30 PST 2020, Mathieu Poirier wrote: > 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> Applied Thanks, Bjorn > --- > arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi > index 8686e101905c..846c5b4a53e8 100644 > --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi > @@ -1363,6 +1363,7 @@ > > clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; > clock-names = "apb_pclk", "atclk"; > + arm,coresight-loses-context-with-cpu; > > cpu = <&CPU0>; > > @@ -1381,6 +1382,7 @@ > > clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; > clock-names = "apb_pclk", "atclk"; > + arm,coresight-loses-context-with-cpu; > > cpu = <&CPU1>; > > @@ -1399,6 +1401,7 @@ > > clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; > clock-names = "apb_pclk", "atclk"; > + arm,coresight-loses-context-with-cpu; > > cpu = <&CPU2>; > > @@ -1417,6 +1420,7 @@ > > clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; > clock-names = "apb_pclk", "atclk"; > + arm,coresight-loses-context-with-cpu; > > cpu = <&CPU3>; > > -- > 2.20.1 >
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8686e101905c..846c5b4a53e8 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -1363,6 +1363,7 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; + arm,coresight-loses-context-with-cpu; cpu = <&CPU0>; @@ -1381,6 +1382,7 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; + arm,coresight-loses-context-with-cpu; cpu = <&CPU1>; @@ -1399,6 +1401,7 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; + arm,coresight-loses-context-with-cpu; cpu = <&CPU2>; @@ -1417,6 +1420,7 @@ clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; + arm,coresight-loses-context-with-cpu; cpu = <&CPU3>;
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> --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++++ 1 file changed, 4 insertions(+)