From patchwork Fri Nov 16 10:01:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 10685769 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 6BA0514DB for ; Fri, 16 Nov 2018 10:01:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58A352D30E for ; Fri, 16 Nov 2018 10:01:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B5F02D339; Fri, 16 Nov 2018 10:01:45 +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 F1D662D30E for ; Fri, 16 Nov 2018 10:01:44 +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=FhsweyfSgmMLL4v0/kk0nTkRvCEqR8eaUfHIjx4pBE0=; b=UwJnEsNKd0qjVQ zda6h5NZ0vxbbUWI8xTuNh1BMBjh1kL4PzkvQ27/8Ia6eciwWmfywwY5GXVzselz3lYTvaNsrAXcq tlLYx5rFCT5bv6YJCvxIzlc2QxJTU9TvmjrRhwnFJi8IBooFubdr1+QNadxessWCDAJpMxcpSVW+e QFNJ+fRiYqq9R2gcJ9tYTxpnlwy5bMByXf5scmKXynPU7DKDjS1cHSdiwNOJCeIz1bKTyKOKJoNEf A4IJEFSspZcuq9hT57skzyCfDDsu3GZz+aRbMGESWa0eapVOHtNPtbLvUvboL/2+SnBGSj5UNN30X QEsYFfOUppzHxuahSt/Q==; 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 1gNawX-0003ee-7t; Fri, 16 Nov 2018 10:01:41 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNawS-0003RO-Na for linux-rockchip@lists.infradead.org; Fri, 16 Nov 2018 10:01:38 +0000 Received: by mail-pg1-x544.google.com with SMTP id z11so7765895pgu.0 for ; Fri, 16 Nov 2018 02:01:26 -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=iaocSBgVSQTsyWZDwUyvm9AOU5NWzNYaxEXBwFA4KOE=; b=ZdFut/OyruJMA3LLM6BQthGHcgT/z7FbcwGqVbho259HwobgxkjeY3HCTP4pzQluk8 1oSU11F+tbWgxmWRgwU234r4e/yOKBG60sgifVn6fA94eN/WVoFWh71Q3H+ych2OuzBm sub+J1lEbWM02lUd06Cyl86CDvyqS6B+1KDDw= 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=iaocSBgVSQTsyWZDwUyvm9AOU5NWzNYaxEXBwFA4KOE=; b=BANhkM5zu04ftjfM6Tc2tcIHYbAc8rH0bRrlTyJkT0XkDih5nK01Ha61071kq1VljD F0ptq70aR0Y/+A+y/YPZeGhd6kJuO+yHnuCKOYifeaqRN27EZFGqd+CtfU3aqMqkPfnK BbCWHm+OrWqR4bB0N2C5h+3H45U36QO03PvEHjAXjNBJTFeM4vDM8aPWZtl6ntcmGtsu Phi9KTABySb2GsdlwdMkEkl6SMXJ4fjq9cjVWBrW5Lririv096cN+5qo6JIuAY3GDZB3 i6mGcLxu3xxVt7J7Geugpp/rLfWA3YUNJV5vXlRYEUw4F/zMJJheCIYttsF8DmP7OZqv Qamg== X-Gm-Message-State: AGRZ1gKOblckV1AjQnDPkvFI5P46Kjz244DcukCFMyVJum18l/Ad+9Vt k/fwURa0EdqSS4vM7sM/SeO+jw== X-Google-Smtp-Source: AJdET5enIB1r/mD6ySjDFaQu7GleUgt3JZEAYXHrIzibgVMHHxds53iEuGLj/ARERvX8h5T2vWrWoQ== X-Received: by 2002:a63:bd51:: with SMTP id d17mr9459706pgp.443.1542362485534; Fri, 16 Nov 2018 02:01:25 -0800 (PST) Received: from localhost ([122.172.88.116]) by smtp.gmail.com with ESMTPSA id c7-v6sm37862340pfh.25.2018.11.16.02.01.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 02:01:23 -0800 (PST) From: Viresh Kumar To: Mark Rutland , Rob Herring , Chen-Yu Tsai , Heiko Stuebner , Krzysztof Kozlowski , Kukjin Kim , Li Yang , Masahiro Yamada , Matthias Brugger , Maxime Ripard , Shawn Guo Subject: [PATCH 0/6] ARM: dts: Fix incomplete cooling-maps Date: Fri, 16 Nov 2018 15:31:09 +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_020136_926046_63FA1F13 X-CRM114-Status: GOOD ( 13.69 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms 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-rockchip@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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 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. --- viresh Viresh Kumar (6): ARM: dts: exynos: Add all CPUs in cooling maps ARM: dts: ls1021a: Add all CPUs in cooling maps ARM: dts: mt7623: Add all CPUs in cooling maps ARM: dts: rockchip: Add all CPUs in cooling maps ARM: dts: sunxi: Add all CPUs in cooling maps ARM: dts: uniphier: Add all CPUs in cooling maps arch/arm/boot/dts/exynos3250-artik5.dtsi | 6 +- arch/arm/boot/dts/exynos3250-monk.dts | 6 +- arch/arm/boot/dts/exynos3250-rinato.dts | 6 +- arch/arm/boot/dts/exynos4210-trats.dts | 4 +- arch/arm/boot/dts/exynos4210.dtsi | 2 +- .../boot/dts/exynos4412-itop-scp-core.dtsi | 8 +- arch/arm/boot/dts/exynos4412-midas.dtsi | 8 +- .../boot/dts/exynos4412-odroid-common.dtsi | 8 +- arch/arm/boot/dts/exynos4412-odroidu3.dts | 17 ++- arch/arm/boot/dts/exynos4412.dtsi | 6 +- arch/arm/boot/dts/exynos5250.dtsi | 7 +- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 106 +++++++++++------- .../boot/dts/exynos5422-odroidxu3-common.dtsi | 106 +++++++++++------- arch/arm/boot/dts/ls1021a.dtsi | 2 + arch/arm/boot/dts/mt7623.dtsi | 15 ++- arch/arm/boot/dts/rk322x.dtsi | 10 +- arch/arm/boot/dts/rk3288-veyron-mickey.dts | 24 ++-- arch/arm/boot/dts/rk3288.dtsi | 15 ++- arch/arm/boot/dts/sun6i-a31.dtsi | 11 +- arch/arm/boot/dts/sun7i-a20.dtsi | 5 +- arch/arm/boot/dts/sun8i-a33.dtsi | 16 ++- arch/arm/boot/dts/uniphier-pxs2.dtsi | 6 +- 22 files changed, 250 insertions(+), 144 deletions(-)