From patchwork Fri Nov 16 10:04:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 10685811 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0472B14E2 for ; Fri, 16 Nov 2018 10:05:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E95012915F for ; Fri, 16 Nov 2018 10:05:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCAD729362; Fri, 16 Nov 2018 10:05:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8642128A6A for ; Fri, 16 Nov 2018 10:05:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727534AbeKPUQZ (ORCPT ); Fri, 16 Nov 2018 15:16:25 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38806 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbeKPUQY (ORCPT ); Fri, 16 Nov 2018 15:16:24 -0500 Received: by mail-pl1-f196.google.com with SMTP id e5so915610plb.5 for ; Fri, 16 Nov 2018 02:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0kw5X0zKvK4Q6Yba+l7pfp1viLl+JDSfRQQQ5+ExowM=; b=UcbwSzXIBVvyYEpbnua9/G4LDReAMFtU8V7mLinHD7lRnPDn27Fc2HYpomHvFDL6G6 krBywPFbzhauaWGh+5kYVTl+EyqeIQciazIdaDryd5SbxX79s67/2ZSip1Nk0iahgl1Q drrrklWpebJ6qkFGH2ISpt4jfEAPKDO1vEfz8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0kw5X0zKvK4Q6Yba+l7pfp1viLl+JDSfRQQQ5+ExowM=; b=ow+cvjVcbN6tU7LoYQb+EsagOuDXlqzgRY8bqfmtxxe61NGK8uZ4p0QTakUXaG0vEj ZxYAJ02rIBr2MhPVr2pRi3NYZiNPynez3Bj111BM5/RvuzUqUJBGTtdOGdoLR3wPBwTl kSBIti3kQf+7tsp2Usu8VjLzhoVHvwgupa2RZ9Ba8yoI+tURi7fgCGdZUwtJYt5CIUIe JXtXaLAXC11/VX9pr9EA/Pq36YM0Yf5PaMk9mdM2lobamJ3uPuXT6JymqYBjRLpf7x1X Yx3REeTbjBAafOy/zkyD+SXstO1H2g8nlw2c7Q5LdmngYBlTqLQZFb+F/j2sguvJD6xv RL3w== X-Gm-Message-State: AGRZ1gLX+sfKAhAZhPh+/a4d4AmxHi8+jtQQrT6PBKMEv8zqVxVicqEa Kz+MaFJcZdAzFOHp/dJShW8olg== X-Google-Smtp-Source: AJdET5eHllCOzVSbtyXlM/KjfCLWH/L86gyZE7af/0+ucqKSlqBwU0mtQ+5X9vJuTX/aNB75p91bOw== X-Received: by 2002:a17:902:ab83:: with SMTP id f3-v6mr9744567plr.122.1542362686856; Fri, 16 Nov 2018 02:04:46 -0800 (PST) Received: from localhost ([122.172.88.116]) by smtp.gmail.com with ESMTPSA id s184sm34059239pgc.38.2018.11.16.02.04.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 02:04:46 -0800 (PST) From: Viresh Kumar To: Mark Rutland , Rob Herring , arm@kernel.org, Andy Gross , Carlo Caione , David Brown , Heiko Stuebner , Kevin Hilman , Krzysztof Kozlowski , Kukjin Kim , Li Yang , Magnus Damm , Masahiro Yamada , Matthias Brugger , Shawn Guo , Simon Horman , Wei Xu Cc: Viresh Kumar , devicetree@vger.kernel.org, Vincent Guittot , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH 00/10] ARM64: dts: Fix incomplete cooling-maps Date: Fri, 16 Nov 2018 15:34:23 +0530 Message-Id: X-Mailer: git-send-email 2.19.1.568.g152ad8e3369a MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)