Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2620415imu; Thu, 29 Nov 2018 07:45:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/UNUfq6HUcaeDCWm6DNEkLmJgJGixcS5UAO4MfzuFEL6DGth3XN8v5uU0gqWUAlk/02Z4gq X-Received: by 2002:a63:2f86:: with SMTP id v128mr1576624pgv.407.1543506351914; Thu, 29 Nov 2018 07:45:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543506351; cv=none; d=google.com; s=arc-20160816; b=Acc3zShX7XklK3tFfwFIYaV7hRv5L7vkZwTmZt2P1Q5EnlDKCnllBkYd1DI8+5hstQ WDmfgJksVm+jwcCkO0S+mqvC5V4axgbFJzX/o39rv/SmiUuW7jeV3XAEOWgcriSYLFOG kBtkm7cD3ofVJ42KCGPOgUJk6LLtHnqPMwCqQ3jYwgKikDIUhsdgCys/Y5rehLG0fGMC L/3+st7g2NrmKGms74HrjQb4zvhudm56S+pjCsW6jGS2JlFYOLWvPVlB0T6Yh8CI5Bm7 jiiQyFmbMoj0MKth275bmTxtVw/vYYAiQ9KVzbHlUnOJDnk+wO+rCm9Ptmrii+pf2EgB 4Jzw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=1Wye/4aYEa8iUr0TFmgMWIuHgfkPKkEcMHBdOkHyz/M=; b=QVNLbu41vhuUXFebXWLsQt1Pt3wq8c5/Xa7twiyLeJkc1+onFWp/bACwnTH2s68IAH uN0Wrw4QkPT66BPwli4mhz0t9VMEmOCnDeGCSSBIGztAmpwIZWMTJSPre3e6suQbl2BA YA1TwVAohcUqA7BiS6u6t8qiN/77WepDzuc5JV9wEf2HdhFdR8+Yhx0HOBD+dl+fOy5n GLeS55wEr1Qfk8WzJDM9Y2HTIzPbMLhKHA7tZ7xYwge9OZAquzMvX4iOw5Dmm4J+lbei 421vIEPGDRaITeF9Q5JcJsclW1fj8fi4wl+Rkug940oVQfz44yxA6JiVtOGh6TlTtb8X Ec9A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 16si2424087pgh.58.2018.11.29.07.45.29; Thu, 29 Nov 2018 07:45:51 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728807AbeK3Cuh (ORCPT + 99 others); Thu, 29 Nov 2018 21:50:37 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:39793 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728363AbeK3Cug (ORCPT ); Thu, 29 Nov 2018 21:50:36 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 348668AB5E2B5; Thu, 29 Nov 2018 23:44:47 +0800 (CST) Received: from [127.0.0.1] (10.202.226.42) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.408.0; Thu, 29 Nov 2018 23:44:47 +0800 Subject: Re: [PATCH 04/10] arm64: dts: hi3660: Add missing cooling device properties for CPUs To: Viresh Kumar , Mark Rutland , Rob Herring , References: <042e5e647a7b54f4322024f1b3e286b6b6d69175.1542362530.git.viresh.kumar@linaro.org> CC: , Vincent Guittot , Daniel Lezcano , , From: Wei Xu Message-ID: <5C000967.7070103@hisilicon.com> Date: Thu, 29 Nov 2018 15:44:39 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <042e5e647a7b54f4322024f1b3e286b6b6d69175.1542362530.git.viresh.kumar@linaro.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.42] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Viresh, On 2018/11/16 10:04, 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 Applied to the hisilicon soc dt tree. Thanks! Best Regards, Wei > --- > arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi > index f432b0a88c65..d943a96eedee 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi > @@ -79,6 +79,7 @@ > capacity-dmips-mhz = <592>; > clocks = <&stub_clock HI3660_CLK_STUB_CLUSTER0>; > operating-points-v2 = <&cluster0_opp>; > + #cooling-cells = <2>; > }; > > cpu2: cpu@2 { > @@ -91,6 +92,7 @@ > capacity-dmips-mhz = <592>; > clocks = <&stub_clock HI3660_CLK_STUB_CLUSTER0>; > operating-points-v2 = <&cluster0_opp>; > + #cooling-cells = <2>; > }; > > cpu3: cpu@3 { > @@ -103,6 +105,7 @@ > capacity-dmips-mhz = <592>; > clocks = <&stub_clock HI3660_CLK_STUB_CLUSTER0>; > operating-points-v2 = <&cluster0_opp>; > + #cooling-cells = <2>; > }; > > cpu4: cpu@100 { > @@ -129,6 +132,7 @@ > capacity-dmips-mhz = <1024>; > clocks = <&stub_clock HI3660_CLK_STUB_CLUSTER1>; > operating-points-v2 = <&cluster1_opp>; > + #cooling-cells = <2>; > }; > > cpu6: cpu@102 { > @@ -141,6 +145,7 @@ > capacity-dmips-mhz = <1024>; > clocks = <&stub_clock HI3660_CLK_STUB_CLUSTER1>; > operating-points-v2 = <&cluster1_opp>; > + #cooling-cells = <2>; > }; > > cpu7: cpu@103 { > @@ -153,6 +158,7 @@ > capacity-dmips-mhz = <1024>; > clocks = <&stub_clock HI3660_CLK_STUB_CLUSTER1>; > operating-points-v2 = <&cluster1_opp>; > + #cooling-cells = <2>; > }; > > idle-states { >