mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-05 04:46:54 -04:00
arm64: dts: hi3660: Add property for fixing CPUIdle
During CPU low power modes, ETM components will lose their context. Add the "arm,coresight-loses-context-with-cpu" property to ETM nodes to save and restore ETM context for CPU idle states. Signed-off-by: Leo Yan <leo.yan@arm.com> Reviewed-by: James Clark <james.clark@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
This commit is contained in:
@@ -17,6 +17,7 @@ etm@ecc40000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu0>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
@@ -34,6 +35,7 @@ etm@ecd40000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu1>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
@@ -51,6 +53,7 @@ etm@ece40000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu2>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
@@ -68,6 +71,7 @@ etm@ecf40000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu3>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
@@ -160,6 +164,7 @@ etm@ed440000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu4>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
@@ -177,6 +182,7 @@ etm@ed540000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu5>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
@@ -194,6 +200,7 @@ etm@ed640000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu6>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
@@ -211,6 +218,7 @@ etm@ed740000 {
|
||||
clocks = <&crg_ctrl HI3660_PCLK>;
|
||||
clock-names = "apb_pclk";
|
||||
cpu = <&cpu7>;
|
||||
arm,coresight-loses-context-with-cpu;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
|
||||
Reference in New Issue
Block a user