Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1983482yba; Fri, 10 May 2019 04:32:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjL7kgIPOv3m79jVG59Wj0AaRfUGa+oEG26adD+hK0hBR/knJ3uwvUoz1e2IhfUBVJb7G+ X-Received: by 2002:a62:5487:: with SMTP id i129mr13161836pfb.68.1557487958275; Fri, 10 May 2019 04:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557487958; cv=none; d=google.com; s=arc-20160816; b=GyK+m1J6pbq6FUcEByark+G4zMN7NMikWi8DSJDsWCyVpzXHeA2mOkOSm+uPVPgc0U +07HS6c+2ocn58e1nKjadHpR3YhoOfCTJy2FbEIqvwlIaIE1Ge+opvj3wMI2podQXx8O gycwXlj49mttkobIIaBRNrNpSk/1eeNkkgmuNtPmEbK5UTS6XWBBr6AR7LXjL98RgIIm FTR38z6GKaWDznWiLTjMhrrCQCB12mQo6lUQ4I9RCfmQMonNkEB70v2ruUdmqtI42ncI YJ4xVWvk0F/B3i8a2ReHK1L1uP+TKBN3T14/F7PXykLWgmGsXr3QFbldt4ebXawnXEXF Ls1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2cC/Zcxg1JnQkjFL1bdDhsa/0fTeyhKMuLV2nPc0e84=; b=pVxUwGSczvRA1eW4Oytht0c+PRzmtuxGZHNKjj5jL43TVx2kD+qVI+syaqFvTa3Nvj nx/lDJPLgm4tW5THKMdgkQT4bm4EGfUerkXj9wKN4R7GwzW5gLD656x89/r9p8+iQLQj SXxMn67etQcuL7wypDPTYp6jv8Qv7SEPRWlpJvZokGfQbNmVbqdFinaj7a0QQcuXF2CJ hD76SXa5oTQysakSeOjAkTL1KGniSkW7oG9dESfVjpdq1fBHbgu133MFwEiyM8WuSqB8 ogYVKt249IN99QrWfjwsTyPH1wM9Zwwq5zIe3bMLNZj00SQnATWQ24cpgn+O2eB6yhSt ondA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nmIHe/8t"; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si7111996plm.427.2019.05.10.04.32.22; Fri, 10 May 2019 04:32:38 -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=@linaro.org header.s=google header.b="nmIHe/8t"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727201AbfEJLb0 (ORCPT + 99 others); Fri, 10 May 2019 07:31:26 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:33927 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727097AbfEJLbZ (ORCPT ); Fri, 10 May 2019 07:31:25 -0400 Received: by mail-ua1-f68.google.com with SMTP id f9so2023867ual.1 for ; Fri, 10 May 2019 04:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2cC/Zcxg1JnQkjFL1bdDhsa/0fTeyhKMuLV2nPc0e84=; b=nmIHe/8tgbvqwCu/r/3f/ME9uxWQ9OJMDaCD2DrtbOIslLYcnb3rWqonJnBoXggPSO pFRB/9Hy5C7PRugIsMV0s4QwhrSBc6hkLxxfjRViMgXFic55liP1ItoCIqwmlndiwUEZ 72uUYdxpGEpCvYqufU2nECO2hX8YwpOdZ3tDo3f5WRIRdTBVwm0M6aHY+6RASMi4RTZN 0dM5kXoud1qIjPOVCL+zYVUSgUTm+0gp+hOc9STM1QAK7mKyoIaXb7Kn/hCGE3WsXeuM ItNn2/EJSojKLEsMqPS2+vQ5DtI09GO6qpGPqekfjt6f6K+bj/kr52wNs0Psa+bRLj06 mCLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2cC/Zcxg1JnQkjFL1bdDhsa/0fTeyhKMuLV2nPc0e84=; b=A6LW5Ns33Nj8Z7Lk9xf9eotofdXmc5Y/V4SZun3OkeNHt0mDtpNs7Jx1ZEqQ86JAbo umqBML44ME8NM0+CD40TIYQmhPV9piU7Czr9/GfsK0o+YcDGh4Cnb1/0MCRY0Kg69J77 9x+stFzFv2Y6+DCsmgkQWhX0y1WL4YbJxyBjFBs8NN5Xz909+iU1+XgrRtmNL5OBvfTr pUX9SqFeBvBWd1B/ZXLAQpXaqHmSXc+CFUw6mKhHrYXaR+pB4LN+CLethGMRoc3DsSob pW4zFp/cen4F4k++qhCVMYoqbitBVC93Ejo/JstnSA9Dz6S+sIiHQQeN4yP93wJXSJkf Barg== X-Gm-Message-State: APjAAAXLScTgebXQUnChv+GG4VCoN6u31Tc12L3FFs/BYOEskYNRJ1Gj ECQj9WMb42YVffMgNSnCYwDjiFV4/GHyoNceX59eOw== X-Received: by 2002:ab0:4782:: with SMTP id v2mr1131666uac.94.1557487884393; Fri, 10 May 2019 04:31:24 -0700 (PDT) MIME-Version: 1.0 References: <20190506193115.20909-1-niklas.cassel@linaro.org> <20190507053547.GE16052@vkoul-mobl> <20190507065555.GB2085@tuxbook-pro> In-Reply-To: <20190507065555.GB2085@tuxbook-pro> From: Amit Kucheria Date: Fri, 10 May 2019 17:01:12 +0530 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: qcs404: Add PSCI cpuidle support To: Bjorn Andersson Cc: Vinod Koul , Niklas Cassel , Andy Gross , David Brown , Rob Herring , Mark Rutland , Jorge Ramirez-Ortiz , Lina Iyer , Ulf Hansson , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 7, 2019 at 12:25 PM 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... > > Thanks, > Bjorn Hi Bjorn, Please drop this patch and check the one I've sent as part of the qcom cpuidle series? Regards, Amit > > > + 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