mirror of https://gitee.com/openkylin/linux.git
arm64: dts: msm8916: Properly deal with ETMv4 power management
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>
This commit is contained in:
parent
24254a8edf
commit
ef71fdb266
|
@ -1415,6 +1415,7 @@ etm@85c000 {
|
|||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
|
||||
clock-names = "apb_pclk", "atclk";
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
cpu = <&CPU0>;
|
||||
|
||||
|
@ -1433,6 +1434,7 @@ etm@85d000 {
|
|||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
|
||||
clock-names = "apb_pclk", "atclk";
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
cpu = <&CPU1>;
|
||||
|
||||
|
@ -1451,6 +1453,7 @@ etm@85e000 {
|
|||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
|
||||
clock-names = "apb_pclk", "atclk";
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
cpu = <&CPU2>;
|
||||
|
||||
|
@ -1469,6 +1472,7 @@ etm@85f000 {
|
|||
|
||||
clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>;
|
||||
clock-names = "apb_pclk", "atclk";
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
cpu = <&CPU3>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue