Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3400986yba; Tue, 7 May 2019 00:07:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqx300rhl9TZHV7ryr2pYHmV4Qlchmz8Hcu240Df/uoEPDrJjQhzOF/ai7phSmA4mvply3LS X-Received: by 2002:a62:5a42:: with SMTP id o63mr40897849pfb.170.1557212854234; Tue, 07 May 2019 00:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557212854; cv=none; d=google.com; s=arc-20160816; b=rH4D6dsniVUkz2x/gXvvdAeFChgQs176/8GhNsDd0JNh7bz7q0eVIS/bZtDpYRtyAi onMYtIDFB9dqMzlhkJamhr9Fu5UsbM7IacxBH8Syz0gf059oIWBm6jm2JYPXTjEl/He5 9vWrZwQ+ITMusq/HoR/eqkUsWBqSMxOF32iVWoDoQ+3vHM43aJcLdazGUoSafUCJfnOI zxxmDxNyP3M/fSeTTOKxGVcaZi0JpEXJveLTfaaKbi0eWpDGvbfYfD75TvjPaTfgNquH EmDVh6q90XEpfr7dSPO1FCJPH7N1jdIddyyvBQkyIDepi3JJXTHXgDj3A6vWzNT4cNZp R74g== 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:dkim-signature; bh=Fa/9WN5U+dZqawYETTvNhQocSOlcBRaUoHiYD9kEE5c=; b=Gw+XHF39niyOevnbwoJ7tas4JVs8a34mqX5xH822+mRUL/Hq1m7YcUtwT0BfIXjWsC UTThqaM+cDQ9n/VmgJ6MJtBFP4MSeVEcL9rCwFnImZoKCCK5RqNcooqJc86Ihh7AbZCs MlY6hRwdq7VIOCRrqhh5Q3P2bhwIWJQSn1/GKX01SUaMTbLEWu8p2pKuymUb/EgGSIOw A5RcwkaZphqpdXyxzAF59K0AvWwrsNISphgL7TnThnqnqCtCgjlmY8Rd40otMMe9Ka2z daXwT5h3TgJqfYnCfdJjKAsEnw1NL0M6Yi7Iv0Jddb8deDUd5ZMCKyE1YAh7qPOKvrXm wweg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ccX/mlxq"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f64si15179625plf.128.2019.05.07.00.07.18; Tue, 07 May 2019 00:07:34 -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=@kernel.org header.s=default header.b="ccX/mlxq"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726895AbfEGHGU (ORCPT + 99 others); Tue, 7 May 2019 03:06:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:47066 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbfEGHGU (ORCPT ); Tue, 7 May 2019 03:06:20 -0400 Received: from localhost (unknown [106.200.210.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C7D7220989; Tue, 7 May 2019 07:06:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557212779; bh=D/iLEeRMbAo/D0nUwcRfutpVVc7O5Mnze5ezjHPRVWU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ccX/mlxqT3F1w5nzpvWHtewkd6XiNZhglmQRJ5Qc4FEl3GX7hcSqtfaN0ILHflbJK swAd+9ylQaTTgARuLfKGZgkJrr/5tPG8zw1C7u0xjbg4SYsT7t9nn71iBIr9NS4uT6 BHvNequA6KtX1EBV8TcCX5IVzyQdJ18dxgos2J7k= Date: Tue, 7 May 2019 12:36:14 +0530 From: Vinod Koul To: Bjorn Andersson Cc: Niklas Cassel , Andy Gross , David Brown , Rob Herring , Mark Rutland , amit.kucheria@linaro.org, jorge.ramirez-ortiz@linaro.org, lina.iyer@linaro.org, ulf.hansson@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: qcs404: Add PSCI cpuidle support Message-ID: <20190507070614.GF16052@vkoul-mobl> References: <20190506193115.20909-1-niklas.cassel@linaro.org> <20190507053547.GE16052@vkoul-mobl> <20190507065555.GB2085@tuxbook-pro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190507065555.GB2085@tuxbook-pro> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06-05-19, 23:55, Bjorn Andersson wrote: > On Mon 06 May 22:35 PDT 2019, Vinod Koul wrote: > > > On 06-05-19, 21:31, Niklas Cassel wrote: > > > Add device bindings for CPUs to suspend using PSCI as the enable-method. > > > > > > Signed-off-by: Niklas Cassel > > > --- > > > arch/arm64/boot/dts/qcom/qcs404.dtsi | 15 +++++++++++++++ > > > 1 file changed, 15 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi > > > index ffedf9640af7..f9db9f3ee10c 100644 > > > --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi > > > +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi > > > @@ -31,6 +31,7 @@ > > > reg = <0x100>; > > > enable-method = "psci"; > > > next-level-cache = <&L2_0>; > > > + cpu-idle-states = <&CPU_PC>; > > > }; > > > > > > CPU1: cpu@101 { > > > @@ -39,6 +40,7 @@ > > > reg = <0x101>; > > > enable-method = "psci"; > > > next-level-cache = <&L2_0>; > > > + cpu-idle-states = <&CPU_PC>; > > > }; > > > > > > CPU2: cpu@102 { > > > @@ -47,6 +49,7 @@ > > > reg = <0x102>; > > > enable-method = "psci"; > > > next-level-cache = <&L2_0>; > > > + cpu-idle-states = <&CPU_PC>; > > > }; > > > > > > CPU3: cpu@103 { > > > @@ -55,12 +58,24 @@ > > > reg = <0x103>; > > > enable-method = "psci"; > > > next-level-cache = <&L2_0>; > > > + cpu-idle-states = <&CPU_PC>; > > > }; > > > > > > L2_0: l2-cache { > > > compatible = "cache"; > > > cache-level = <2>; > > > }; > > > + > > > + idle-states { > > > > Since we are trying to sort the file per address and > > alphabetically, it would be great if this can be moved before l2-cache > > :) > > > > Picked up, with the order adjusted. > > > Other than that this lgtm > > > > I presume that lgtm == Reviewed-by... yes :-) and formally here as well.. Reviewed-by: Vinod Koul > > Thanks, > Bjorn > > > > + CPU_PC: pc { > > > + compatible = "arm,idle-state"; > > > + arm,psci-suspend-param = <0x40000003>; > > > + entry-latency-us = <125>; > > > + exit-latency-us = <180>; > > > + min-residency-us = <595>; > > > + local-timer-stop; > > > + }; > > > + }; > > > }; > > > > > > firmware { > > > -- > > > 2.21.0 > > > > -- > > ~Vinod -- ~Vinod