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: 10685803 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 1039B14E2 for ; Fri, 16 Nov 2018 10:05:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F2A9C28DDF for ; Fri, 16 Nov 2018 10:05:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E578A2938A; Fri, 16 Nov 2018 10:05:36 +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 CD87F2915F for ; Fri, 16 Nov 2018 10:05:35 +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=ZZd1U0JB/5lFFGk0m1SBrtQWo8GvkIaral4Gd6lM0xc=; b=g3pV6CKckAz7EX 2b9CDXu/ErfgnXp2gGUEsVF8EX7txh4Ctwy2MKod9SsfrX96lTgFQLrI/wqekPswQTpE7NjFk3QVi IyLYu+X2FpKZyOJ9nO1374RgV/e3hxwuTfrdSmijDb2BF9yUiihhsZppX29j/eceFv5+f5HM6QHsL qDm/8+Ql0bzPdsPXXtfKy9t+F7USEIhfXAjfyJRAj7hf4Mi/pVaacWcs5vha6H1XVSV6ssQFDPpsC Qc3Tfr1xIpmTememcz87c/pSrNCQCaYE491yZ03A7HyaLLJU2XtNBw84rE61MTTgEeouUxw/yMVM3 Sf4uWJGX62yOFqtBrj0g==; 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 1gNb09-0007p6-3A; Fri, 16 Nov 2018 10:05:25 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNazh-0006Do-Fr for linux-arm-kernel@lists.infradead.org; Fri, 16 Nov 2018 10:05:00 +0000 Received: by mail-pl1-x641.google.com with SMTP id y6-v6so3373880plt.3 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=dR9rrAxyPXNFHWYd+kiLOd3lifz/ziAveScUE2RB6u41Cj0S5lDFpLI428yKdHdlZD 4x+bwWDgoSXzt/1zYaxNFLrbZOyDTTrKnG/gOUFHF4dbIEpH6I6czSeXoJFxBHpKiNKb IuQRxu6gh9/gDMdRbAPtsX2RsgqM/YaTbMMHzdt04tqVb0DZFm4JLuIIHnnIgv90kAju s273jeOKlPAQlUtrZ4/GHDldavSDs1/3MyMNxr1Srep7pHTH+A8Zlpj+yJiM7YELsY3i BLhNp2eUYevp6j2oLaWmmCGE92dUko55OLGp4eFoEhbzIzdBV9ZyvZA3IRYHmXLOtE7i b9nw== X-Gm-Message-State: AGRZ1gIC3xWflbIWNBp2WYybWsSqLPl0Qfi1SH52bZ0M56ee8j70GNBO saRLFxhG+ueoC5m0J6tHbX6/dQ== 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_595672_FF6D50DA X-CRM114-Status: GOOD ( 14.62 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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(-)