Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp971393ybi; Tue, 16 Jul 2019 07:49:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0TWItZZJU6VU0X3vuvYRB9AsakFDspqXiVp5RnBZV7Wp4GG6BGvs+aRO244hkZhobX4iI X-Received: by 2002:a17:902:4c:: with SMTP id 70mr35972175pla.308.1563288570098; Tue, 16 Jul 2019 07:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563288570; cv=none; d=google.com; s=arc-20160816; b=dRVMlLfl0PSeAOEJPaoDcPozZVFdo6uxhI+gFnUHp00uhCJP5Z/uyWKxyhbGjtSnvY LV71tlbe63or+RRGVZWYC21PW3LVSrhPOjh91/Yr55QsvHP9jmOrAr8G1NLM4MKz445H CW+UiGVG1bLbCU11iICPFCMjaAME9J7lewO0j92sT7C+tDhR444AeYn4z/+egGmFBq3k gbyxKFFO3/uSWi5uqYPTottAdF/nfjcbWNwsdvpzRgkCyNfKC2Ryr2wXE4ZeDhpMxv+z dVDj/B9J+4+dObmNhTacXYUnYrIV43Otoyvsx6hW2qMNjj46+xFwX4bS/g4qn9FA5DbH actA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TRw/ErI3NEvmlXX5cMoXIFmrcStfl+HnFYwGkOba8H8=; b=EfrgzT7xV3qqvXxgmxgu6fqFc3q58CilwcJurKpklr5a+PypKgmHkir31N9XxW/M7l vWSf5/YiJds1yDOKOL8Tfn1OWM2ohng9rd1AChymfIAWz/GxdtGms4Ih91UkJr7F8kJ+ tlgNrrhu1vCFSYw+/XJd72i4V35eCf7N0RlaxJtOOVoFhLzazaWNVy1lt2Y25gdN9DzZ 8/x5aZ8w9NxfcdGj2zEa/qZJ1XDBj6JAVKSorgAPxfQfooMkGblLOWZ1vWumWZpdseAR SxyK29BK6jUDQa1M296zviTDOhEfNRHx5ejvYWDl8FmYXV3iB++donl8UOBjlsMGmlXx AN4g== 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 a19si11729617pgw.234.2019.07.16.07.49.14; Tue, 16 Jul 2019 07:49:30 -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; 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 S2387773AbfGPOru (ORCPT + 99 others); Tue, 16 Jul 2019 10:47:50 -0400 Received: from foss.arm.com ([217.140.110.172]:35936 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726997AbfGPOru (ORCPT ); Tue, 16 Jul 2019 10:47:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 846E0344; Tue, 16 Jul 2019 07:47:49 -0700 (PDT) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B51AF3F59C; Tue, 16 Jul 2019 07:47:46 -0700 (PDT) Date: Tue, 16 Jul 2019 15:47:44 +0100 From: Sudeep Holla To: Ulf Hansson Cc: Lorenzo Pieralisi , Mark Rutland , linux-arm-kernel@lists.infradead.org, "Rafael J . Wysocki" , Daniel Lezcano , "Raju P . L . S . S . S . N" , Amit Kucheria , Bjorn Andersson , Stephen Boyd , Niklas Cassel , Tony Lindgren , Kevin Hilman , Lina Iyer , Viresh Kumar , Vincent Guittot , Geert Uytterhoeven , Souvik Chakravarty , Sudeep Holla , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Wei Xu Subject: Re: [PATCH 18/18] arm64: dts: hikey: Convert to the hierarchical CPU topology layout Message-ID: <20190716144744.GB7250@e107155-lin> References: <20190513192300.653-1-ulf.hansson@linaro.org> <20190513192300.653-19-ulf.hansson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190513192300.653-19-ulf.hansson@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 13, 2019 at 09:23:00PM +0200, Ulf Hansson wrote: > To enable the OS to manage last-man standing activities for a CPU, while an > idle state for a group of CPUs is selected, let's convert the Hikey > platform into using the hierarchical CPU topology layout. > > Cc: Wei Xu > Signed-off-by: Ulf Hansson > --- > > Changes: > - None. > > --- > arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 87 ++++++++++++++++++++--- > 1 file changed, 76 insertions(+), 11 deletions(-) > > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > index 108e2a4227f6..36ff460f428f 100644 > --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi > cpus { [...] > @@ -70,9 +128,8 @@ > }; > > CLUSTER_SLEEP: cluster-sleep { > - compatible = "arm,idle-state"; > - local-timer-stop; > - arm,psci-suspend-param = <0x1010000>; > + compatible = "domain-idle-state"; > + arm,psci-suspend-param = <0x1000000>; > entry-latency-us = <1000>; > exit-latency-us = <700>; > min-residency-us = <2700>; Again this must be original format and as per PSCI spec, your patch changes this cluster sleep state into cluster retention state which I think is not what you intended. -- Regards, Sudeep