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: 151306 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp224799ljp; Fri, 16 Nov 2018 02:01:29 -0800 (PST) X-Google-Smtp-Source: AJdET5e8tJ6uwttfc5evAykpTcm2jc2K/gapwpGyOfXScv6PYZwJu44car4SQvxrRplQYqjGMPyO X-Received: by 2002:a62:ea10:: with SMTP id t16-v6mr10845387pfh.228.1542362489624; Fri, 16 Nov 2018 02:01:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542362489; cv=none; d=google.com; s=arc-20160816; b=Q0KeFcamEDvtTtbdSFlEl/yizpnG34nS/ig+Tj+QidEMTEL4QwZ8ei0S1qv1AHSbfS oAX8tMyeC82ryvnrif6pgLNITPQ6e48JWbp9l5IvyX52WQudKiInLgqjqLCMMonA/H8g ZDxPJLD5vD1rOA8/IUeO+FGkbb0wgcud32W7xA4WsVy20bqN6JqzCGYL6ixoH/aTaSM5 WoLFzpzExPPXbIJhWqizpPGDMJcEdvyeih92OZAIfG86ietMwEGCW/idvfUuH5e/lbBK bZatouSvJ+CXuVqAtG+TpVnHToXwgIg5b1ePI+YOaabIJ0ca8SH3B4J/q60GLvcBdSde znoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iaocSBgVSQTsyWZDwUyvm9AOU5NWzNYaxEXBwFA4KOE=; b=ZxnSUfMWYkIwh+zGEObxN1pQUdwRgioyFkLRQEV08bURwwyAgHHP6NKgvU7CNS9Trz LieeE2KfpdI9u6a7uQ/ExyIBAplyj+qKjWFwqHduj7GM8iAM3jt2SN9PS1JFxxyt8+O+ o7ET0IhYfQzqETSgZ+Xm8n1N2vFlHquj5z+OliB5Gghkmg9XGG3YUB6chGDTDuBbdJx6 Xb/QbwwyQhUslSnTVkmm53nRExB95ezwtAFLPogXTdSDCl3B7Q2T8VNFry6LOFqtdDhi FrQ/A3/Iex3zmTBXW72oo/fYIjntj0rTqTDa+Aj3Zra4Ylo8tNNkS4dZ9k/RtYr4dad+ VlEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZdFut/Oy"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si28822260pgo.23.2018.11.16.02.01.27; Fri, 16 Nov 2018 02:01:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ZdFut/Oy"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727567AbeKPUND (ORCPT + 6 others); Fri, 16 Nov 2018 15:13:03 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39632 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727442AbeKPUND (ORCPT ); Fri, 16 Nov 2018 15:13:03 -0500 Received: by mail-pf1-f195.google.com with SMTP id c72so6488754pfc.6 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=nGFWNQFJa3hlhNHi4zsifaaF7t46DcgOMY9K/CT62Z7xLcMtGUK1fShSNd0yFDYDQW 1c/lZFAmkn0cGHeDINH7/4IRDZ4d5FxOJc03grVeV4DI1SRr6fiE1tPfY6LI1yar9Vzj koW3ezIigm/qzq+d6lhtkGkIMTrfyO7tHCEZxvZtzee6NlvBjFVbAjLHB5/P8CXaEtCI LWKejhEeF3M4BAm9UpLwfYacNfWVZP3Cz88A+tpjG7ksh5dYe/gd3VXsPzbZYv3HfvDm hHL3MngxqYkUFbhm1MOasKzUyoEg16BxFFEsjHS7IV48Bb6+wCO6XSgmog1ZqStuBMT3 QUaw== X-Gm-Message-State: AGRZ1gKlfvOYOQlB7OkBJeqVdnpemI/MNNK5LUfxhwGLTV7y7uwA3Bwm Bi45XZrl7e3WbBFMT0pj/EVTvQ== 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 Cc: Viresh Kumar , devicetree@vger.kernel.org, Vincent Guittot , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- 2.19.1.568.g152ad8e3369a