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: 10685797 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 4D63A14DB for ; Fri, 16 Nov 2018 10:05:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39B1628E17 for ; Fri, 16 Nov 2018 10:05:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D0AC2915F; Fri, 16 Nov 2018 10:05:08 +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 D3466293A7 for ; Fri, 16 Nov 2018 10:05:07 +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=il3TB5F8GWnoIoeqTFSzbmch8s9kQUt6JWDhpXjuIko=; b=LwRsYRutocGf6R q5i9ZsZ+wmxF6llSAj9X3VQtVzzKr2PkiYmBcr7ErOR1UfOKfKzxIESPrvzwYVmCDzmbXr6pjgM0F e57nB7SMPjkJql3qVgN09RmhctPpeP4WCbm3Iqpv+H9DxTksm5bKiWnNtgWrtWkx7I+mtQZbg2I33 jthQ2HU3fG6XOwtTPc/96KFhWLHRrK8k66fYjLwK9rnDgq/P5HXUofu4fU9kc8J9wGMNMFvv7xiYZ zg0DQe69dSYOQFRas/3a4Hcaxqywf/65YbnsFOObxzz0aozqjPwn/bPehfniIKkbY17fhbZ9O3AlM sUDzBxr5OnpjRbCiwYwg==; 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 1gNazp-0006Rp-Fh; Fri, 16 Nov 2018 10:05:05 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNazh-0006Dn-EH for linux-mediatek@lists.infradead.org; Fri, 16 Nov 2018 10:05:00 +0000 Received: by mail-pl1-x644.google.com with SMTP id y6-v6so3373879plt.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=dmc7I8lbFHJWycpLKJKEEUsqkkjN4f1330JJBpkjTipBp7ApyJle2ovaUyWy8C7jUW V30qW9MmkaKVHOEXcalctwrD5DWhaXfKhHGGxGuH7yheM7GBbxjhQzWss2S8R7vhyWjx uA3yVw4PWFr9syWzQ4XGPArFcyF61c+bSRehBjZGnI+mGOE3xHOU/g2UD9k8hUvEsnSV GrGIY/oVY/4o0UpiiUPnCNPB4/MHgshAyHf6gP+IsJm0ONcJgSaidIJT05Sv4sR39vz0 zMG0zkn3fUIa7GQZb52S0RSdL+JX1wcSmvNy/dS6Tiwv7Ph1HVlx11WxAJ2QWJcFU6/G +VKQ== X-Gm-Message-State: AGRZ1gJb1NLaGE8xr8CcWBz0O7iZa/e6LAGMax8/sIEgc/XmWENxDFTp m5ksrcEw1yPOPWQCbtwRlfg2uA== 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_474959_51CC9AAA X-CRM114-Status: GOOD ( 12.86 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=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(-)