]> git.baikalelectronics.ru Git - kernel.git/commit
ARM64: dts: hisilicon: Add all CPUs in cooling maps
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 16 Nov 2018 10:04:28 +0000 (15:34 +0530)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 29 Nov 2018 10:11:21 +0000 (10:11 +0000)
commit1c01ee894c7ef86f4f82e79b7a77e71e2e1ee538
tree902e881378f16494860f57a8f94ec4c2dd7632d0
parentb3e8a7eec6f08ef4c55e148c2cf05e9d49fa0d84
ARM64: dts: hisilicon: 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: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi
arch/arm64/boot/dts/hisilicon/hi6220.dtsi