Skip to content

ARM64: dts: Fix incomplete cooling-maps

Viresh Kumar linux-amlogic linux-arm-kernel linux-arm-msm linux-devicetree linux-mediatek linux-renesas-soc linux-rockchip linux-samsung-soc lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10ARM64: dts: amlogic: Add all CPUs in cooling mapsarch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts+9 -132 replies
2/10ARM64: dts: exynos: Add all CPUs in cooling mapsarch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi+24 -121 reply
3/10ARM64: dts: fsl: Add all CPUs in cooling mapsarch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +1 more+24 -331 reply
4/10arm64: dts: hi3660: Add missing cooling device properties for CPUsarch/arm64/boot/dts/hisilicon/hi3660.dtsi+6 -01 reply
5/10ARM64: dts: hisilicon: Add all CPUs in cooling mapsarch/arm64/boot/dts/hisilicon/hi3660.dtsi arch/arm64/boot/dts/hisilicon/hi6220.dtsi+16 -31 reply
6/10ARM64: dts: mediatek: Add all CPUs in cooling mapsarch/arm64/boot/dts/mediatek/mt7622.dtsi arch/arm64/boot/dts/mediatek/mt8173.dtsi+10 -50 replies
7/10ARM64: dts: msm8916: Add all CPUs in cooling mapsarch/arm64/boot/dts/qcom/msm8916.dtsi+8 -20 replies
8/10ARM64: dts: renesas: Add all CPUs in cooling mapsarch/arm64/boot/dts/renesas/r8a7795.dtsi arch/arm64/boot/dts/renesas/r8a7796.dtsi+15 -61 reply
9/10ARM64: dts: rockchip: Add all CPUs in cooling mapsarch/arm64/boot/dts/rockchip/rk3328.dtsi arch/arm64/boot/dts/rockchip/rk3368.dtsi arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts +1 more+31 -91 reply
10/10ARM64: dts: uniphier: Add all CPUs in cooling mapsarch/arm64/boot/dts/socionext/uniphier-ld20.dtsi+4 -71 reply

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchNeil Armstrong
1/10A-b
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] ARM64: dts: Fix incomplete cooling-maps

Hello,

Now that the below commit are merged in mainline, we can start fixing the ARM64 platform specific DT files:

commit d7a4303b8d1f ("dt-bindings: thermal: Allow multiple devices to share cooling map")

commit a92bab8919e3 ("of: thermal: Allow multiple devices to share cooling map")

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.

Individual maintainers can take the patches through their tree.

--
viresh

Viresh Kumar (10):
ARM64: dts: amlogic: Add all CPUs in cooling maps
ARM64: dts: exynos: Add all CPUs in cooling maps
ARM64: dts: fsl: Add all CPUs in cooling maps
arm64: dts: hi3660: Add missing cooling device properties for CPUs
ARM64: dts: hisilicon: Add all CPUs in cooling maps
ARM64: dts: mediatek: Add all CPUs in cooling maps
ARM64: dts: msm8916: Add all CPUs in cooling maps
ARM64: dts: renesas: Add all CPUs in cooling maps
ARM64: dts: rockchip: Add all CPUs in cooling maps
ARM64: dts: uniphier: Add all CPUs in cooling maps

 .../dts/amlogic/meson-gxm-khadas-vim2.dts     | 22 +++++-------
 .../arm64/boot/dts/exynos/exynos5433-tmu.dtsi | 36 ++++++++++++-------
 .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi |  6 ++--
 .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi |  6 ++--
 .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 17 +++++----
 .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 28 +++++----------
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi     | 16 +++++++--
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi     |  9 ++++-
 arch/arm64/boot/dts/mediatek/mt7622.dtsi      |  9 +++--
 arch/arm64/boot/dts/mediatek/mt8173.dtsi      |  6 ++--
 arch/arm64/boot/dts/qcom/msm8916.dtsi         | 10 ++++--
 arch/arm64/boot/dts/renesas/r8a7795.dtsi      | 15 ++++++--
 arch/arm64/boot/dts/renesas/r8a7796.dtsi      |  6 ++--
 arch/arm64/boot/dts/rockchip/rk3328.dtsi      |  5 ++-
 arch/arm64/boot/dts/rockchip/rk3368.dtsi      | 15 ++++++--
 .../boot/dts/rockchip/rk3399-gru-kevin.dts    |  8 +++--
 arch/arm64/boot/dts/rockchip/rk3399.dtsi      | 12 +++++--
 .../boot/dts/socionext/uniphier-ld20.dtsi     | 11 +++---
 18 files changed, 147 insertions(+), 90 deletions(-)
Signature · 1 line
2.19.1.568.g152ad8e3369a