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: 10685795 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 D97E017F3 for ; Fri, 16 Nov 2018 10:05:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7FE9266F3 for ; Fri, 16 Nov 2018 10:05:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAA0B2B3BF; Fri, 16 Nov 2018 10:05:05 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3A37529CB9 for ; Fri, 16 Nov 2018 10:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=M4hy1JX2WLXZAxAizGJDwaPujw1pLyPfKamSfVkkKns=; b=VvXa4Ij2V3WERl 9S5EBRyMBzujD7VRrOppepNeQiyzFzh4q2FjhqEVG+cTqjo/K722O1hzOAUoQQmb/xT1CvqfDAQQV tcj/FpKazvgq+HDQXdtigkLPsTxwCTsHqx4Bmbt3X64chrRo/kgpsBPlLN71m2q8RSXq52RjWnN6u 6UXXGw2edEHREifCLL6hdAvTzlJV0bIkumpJ1f3Gkmv0pxWtpHo+kBnh/AG2nMe43TabLPYiw9leR 53sCrVDWT199gsXz14yEh7V/3DY087rKsA6NEd7zPgNv4G2IpG1h6oyPdKDDHOsR82No4gqzb/Yjh t9McoFg2tZeJEA5etGDA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNazm-0006HT-1q; Fri, 16 Nov 2018 10:05:02 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNazh-0006Dm-Da for linux-amlogic@lists.infradead.org; Fri, 16 Nov 2018 10:04:58 +0000 Received: by mail-pl1-x642.google.com with SMTP id g59-v6so10933387plb.10 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=twaaGyeIoPZmp0Qu8gcUbvSWGHLmXWGOAdDQ8oUqPBRgE8b1YmX1TjPRfLotB6FDfx QecBOiC1G3lpXkxK/qfaIaWO+IksP2ye0zO97uhyhD3l+UO7MFu/SENyCNeIdDIpmBTg 09qzfXS5rbe8ec6QAxn9VqRFXCn5M7Qurc2dJxlEj7d7UsBb/G7H6ue3RPBFxclcEX2+ qb6jQvczsCC+yI1t3ou5e0XGP83u9v0zvhvyVCnT3OHFy6cCQKRdPdMeUyDDaETlnPgh 55qeahzORsr/15qTUVanC3VXXD00lS17ySY28MDcXpt2UefSGGvFm7xaSTH9CztUNxK5 Tl3A== X-Gm-Message-State: AGRZ1gJ0jKQrVv5AZN7fPro5nideUUoTC+4sTGkpQStmzwV5Cr41UGn5 gylBM6sv+fZ/5kN8eJmdQZL84w== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181116_020457_460595_0A823D89 X-CRM114-Status: GOOD ( 12.86 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Vincent Guittot , Viresh Kumar , Daniel Lezcano , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.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(-)