]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: uniphier: Add all CPUs in cooling maps
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 16 Nov 2018 10:01:15 +0000 (15:31 +0530)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 26 Nov 2018 15:34:38 +0000 (00:34 +0900)
commite380deddeda4c7244b453837d913d511538d4729
tree8a8ba0f6e3429b951a84aa6a112b3e67803ff151
parent1f2cffb376423c7ab158c20d9012e2a4168322a7
ARM: dts: uniphier: 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: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/boot/dts/uniphier-pxs2.dtsi