diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-11-16 15:34:26 +0530 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-12-08 10:28:38 +0800 |
commit | c9a1f24304cbf6d576a0e0c379ae85e7329cd0ba (patch) | |
tree | 532e8eb2435d7006b6b7b756f9a1a3d6712a170c /arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | |
parent | 8897f3255c9c411b86482e09ccbc3e75a8a201e7 (diff) | |
download | lwn-c9a1f24304cbf6d576a0e0c379ae85e7329cd0ba.tar.gz lwn-c9a1f24304cbf6d576a0e0c379ae85e7329cd0ba.zip |
arm64: dts: fsl: Add all CPUs in cooling maps
Each CPU can (and does) participate in cooling down the system but the
DT only captures a handful of them, normally CPU0, in the cooling maps.
Things work by chance currently as under normal circumstances its the
first CPU of each cluster which is used by the operating systems to
probe the cooling devices. But as soon as this CPU ordering changes and
any other CPU is used to bring up the cooling device, we will start
seeing failures.
Also the DT is rather incomplete when we list only one CPU in the
cooling maps, as the hardware doesn't have any such limitations.
Update cooling maps to include all devices affected by individual trip
points.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi index 3364a7fe18e0..712cc27755cc 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi @@ -171,8 +171,10 @@ map0 { trip = <&cpu_alert>; cooling-device = - <&cpu0 THERMAL_NO_LIMIT - THERMAL_NO_LIMIT>; + <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; |