Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp197271imm; Mon, 2 Jul 2018 09:57:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpczLl+QepGoYKUeYbUrM4qrizPjSDGuEBuTBVr+deBpLHanH9YT14pK6PCHMIcZHUB629pX X-Received: by 2002:a62:3a5b:: with SMTP id h88-v6mr9967073pfa.61.1530550668283; Mon, 02 Jul 2018 09:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530550668; cv=none; d=google.com; s=arc-20160816; b=K3t/2hXUc+3QIh0wH5m+GeXvuiVPIRLhIsc5NTIgpr8Pvy2ZNcyXC/wcpShtgQeIof 3ThoU2ftWHzdsZdLB7rKezBYLKnh4ce38BK5f1QcLKcld0XAALi51CcUbFal4sIUz6P9 xcFPdLJzC9d1sHmfstrGRoct+oeqbmrZ2W7KqzPmR8urWD3j3v3GHDkv8Xe0cLFnQ64W fuDafoUw5fF2epEABptV2kNsg4VKxCOPr+H6qrQ+4C8rajTEGWyb4Slxhcg0FlmoRh70 3zGyM391zjIOLc3VfRR8c/q0oS8u5hrk16J+5vbMdGxFXeXDM64lqRQRI7VZd+2FZC65 dB6A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=VBGnYAxAQcsP2v1qZy7AINQKWFiJVtaGBU7Ks+5othM=; b=gah1s8rU06mqDnhg+GrdZEJN1+p1ajLuX+yUJXu5AkzrnTxrqjQBbKgtwy8fOt2I3+ 3UjPxY4o1aXWGSavWKXMkN1by7rWCKnayBnu9hMqHOmf/TWIwSGEVRFybiN9komzuFhM 1YMWuPG+dRrIIpJpDwl02qAwkZkMemPXw4E/uYQbvfWYyKx1/GeG8NMrRvio+OzKDkrv 8/c8wwGAP3/A9hc4a69aUtEAx8vseDVeRslZZrJnUk/hMgDdLyulS9KQ4FzGLVRq+U6Y cx9hp846j+eLdOn4+Vi+qsRJjQKNYmfMSJCgTdhBAVhgfFOKjrv68jy703EH29mlsqi+ FE7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eJeUP81j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si11194474pll.384.2018.07.02.09.57.33; Mon, 02 Jul 2018 09:57:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@gmail.com header.s=20161025 header.b=eJeUP81j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752810AbeGBQ4y (ORCPT + 99 others); Mon, 2 Jul 2018 12:56:54 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:45157 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752273AbeGBQ4v (ORCPT ); Mon, 2 Jul 2018 12:56:51 -0400 Received: by mail-ed1-f66.google.com with SMTP id g15-v6so7797036edr.12; Mon, 02 Jul 2018 09:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VBGnYAxAQcsP2v1qZy7AINQKWFiJVtaGBU7Ks+5othM=; b=eJeUP81jYtQhP64Rqz9j2524y0PRtg+yswuSOFiidXZlckXqNCMP6YU333IpWBa54l GkcnfsyX++Q+XcD8X5c14bBlk/aEeY6BlUWp2ul4PwziMk/t9SN47tThVWe4u5x0b0AQ 72SDKY+qw3v+Ew9z6txfhcQn5fPzgjqXuDtUq9rWuD84calI3PZsub+AbvkGENV2E0Hy AYLbipp+nMInkSOH0SJywoVvvYLVOFDoEasY/UyxTIcCXoFgtd4jZSoZ5Q4bsMGP6oA8 k3hHiW+LepbGPl6YzEBYWDgA1+lS40fHDvZyIjOBiqm3a/6oYfd2uum8kkm079VzT3W6 NULA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=VBGnYAxAQcsP2v1qZy7AINQKWFiJVtaGBU7Ks+5othM=; b=sPdzDBcY2sK3nqMTPXqMcMRWd2dv+Cqgwin+53WZTfi6hsz0QVZBiM4bQtNEcP4RWa gnyn34y+L90hxkzJbYio89tLlgfhVnEREfKjLuW9pS8Y1p7WPTnbZrz5PcSzvUwRtVbV hmoHguxmqeiKa6+BPzYlFa1KxQw9ViwcFbrmJhAb3xOo3ykYlLipdfow1WtGFRaqpb4Q BLrZWEbFOPALBQv/hdC4UMXxLLGsSNHbeKG6QVg4/6F3ecBqElPIoKBH00BrVlhP5yZJ y2Rw5fDJz2W2aqQGetLSPTGAjz6mPvRWXkxn+vmntobww68iOwsA0V0N+fz+leX65KqB 9rig== X-Gm-Message-State: APt69E0JKcKWpNh0p8RyH3zvv9bUiXMYxMI5CWYZKCrzT5fDs0joZmkT IPDIa2wMZGWSrAG1yF982Zhoor8X X-Received: by 2002:a50:8ee4:: with SMTP id x33-v6mr23979304edx.175.1530550610091; Mon, 02 Jul 2018 09:56:50 -0700 (PDT) Received: from ziggy.stardust (200116b8463a6d001ef913515cafe6ac.dip.versatel-1u1.de. [2001:16b8:463a:6d00:1ef9:1351:5caf:e6ac]) by smtp.gmail.com with ESMTPSA id r18-v6sm6458987eds.7.2018.07.02.09.56.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 09:56:49 -0700 (PDT) Subject: Re: [PATCH 4/6] arm64: dts: mediatek: Add missing cooling device properties for CPUs To: Viresh Kumar , arm@kernel.org, Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Cc: Vincent Guittot , ionela.voinescu@arm.com, Daniel Lezcano , chris.redpath@arm.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <49b1086c104b0ee22f6e992a0abb380de9320c09.1527225682.git.viresh.kumar@linaro.org> From: Matthias Brugger Openpgp: preference=signencrypt Autocrypt: addr=matthias.bgg@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFP1zgUBEAC21D6hk7//0kOmsUrE3eZ55kjc9DmFPKIz6l4NggqwQjBNRHIMh04BbCMY fL3eT7ZsYV5nur7zctmJ+vbszoOASXUpfq8M+S5hU2w7sBaVk5rpH9yW8CUWz2+ZpQXPJcFa OhLZuSKB1F5JcvLbETRjNzNU7B3TdS2+zkgQQdEyt7Ij2HXGLJ2w+yG2GuR9/iyCJRf10Okq gTh//XESJZ8S6KlOWbLXRE+yfkKDXQx2Jr1XuVvM3zPqH5FMg8reRVFsQ+vI0b+OlyekT/Xe 0Hwvqkev95GG6x7yseJwI+2ydDH6M5O7fPKFW5mzAdDE2g/K9B4e2tYK6/rA7Fq4cqiAw1+u EgO44+eFgv082xtBez5WNkGn18vtw0LW3ESmKh19u6kEGoi0WZwslCNaGFrS4M7OH+aOJeqK fx5dIv2CEbxc6xnHY7dwkcHikTA4QdbdFeUSuj4YhIZ+0QlDVtS1QEXyvZbZky7ur9rHk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36RfrxzBqc1uZGzJBCQu4 8UjmUSsTwWC3HpE/D9sM+xACs803lFUIZC5H62G059cCPAXKgsFpNMKmBAWweBkVJAisoQeX 50OP+/11ArV0cv+fOTfJj0/KwFXJaaYh3LUQNILLBNxkSrhCLl8dUg53IbHx4NfIAgqxLWGf XM8DY1aFdU79pac005PuhxCWkKTJz3gCmznnoat4GCnL5gy/m0Qk45l4PFqwWXVLo9AQg2Kp 3mlIFZ6fsEKIAN5hxlbNvNb9V2Zo5bFZjPWPFTxOteM0omUAS+QopwU0yPLLGJVf2iCmItHc UXI+r2JwH1CJjrHWeQEI2ucSKsNa8FllDmG/fQ== Message-ID: <003321e5-3d47-9626-ee65-be5abd54a3ae@gmail.com> Date: Mon, 2 Jul 2018 18:56:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <49b1086c104b0ee22f6e992a0abb380de9320c09.1527225682.git.viresh.kumar@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/05/18 07:40, Viresh Kumar wrote: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will start falling apart as soon as the CPUs are > brought online in a different order. For example, this will happen > because the operating system looks for such properties in the CPU node > it is trying to bring up, so that it can register a cooling device. > > Add such missing properties. > > Signed-off-by: Viresh Kumar pushed now to v4.18-next/dts64 > --- > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 + > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > index 9213c966c224..d49fe125e770 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > @@ -89,6 +89,7 @@ > <&apmixedsys CLK_APMIXED_MAIN_CORE_EN>; > clock-names = "cpu", "intermediate"; > operating-points-v2 = <&cpu_opp_table>; > + #cooling-cells = <2>; > enable-method = "psci"; > clock-frequency = <1300000000>; > }; > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > index 94597e33c806..abd2f15a544b 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > @@ -168,6 +168,7 @@ > reg = <0x001>; > enable-method = "psci"; > cpu-idle-states = <&CPU_SLEEP_0>; > + #cooling-cells = <2>; > clocks = <&infracfg CLK_INFRA_CA53SEL>, > <&apmixedsys CLK_APMIXED_MAINPLL>; > clock-names = "cpu", "intermediate"; > @@ -193,6 +194,7 @@ > reg = <0x101>; > enable-method = "psci"; > cpu-idle-states = <&CPU_SLEEP_0>; > + #cooling-cells = <2>; > clocks = <&infracfg CLK_INFRA_CA57SEL>, > <&apmixedsys CLK_APMIXED_MAINPLL>; > clock-names = "cpu", "intermediate"; >