Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3391926yba; Mon, 6 May 2019 23:56:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQX46htuL+eR+5cAfk4+pcm5KVKNk6smF+2ImAdGYFkGjIazeCaFvJP5fvTFDXoJN9B+L3 X-Received: by 2002:a17:902:8d83:: with SMTP id v3mr38396717plo.283.1557212212372; Mon, 06 May 2019 23:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557212212; cv=none; d=google.com; s=arc-20160816; b=V0jrP7zK6SphXQ3bnjY6o7FJKME8tMGV0r/qrR3VdEUUevShlwChM2RV2ExziHlhSi hHoeJBw1tuoS3dZc6zmuueHjSXGVXT3dqFVJbnifhPJROFFnTd3KXVaf9ekhWnKq5MeN FEFlEiW3j7EKPfcsqgO00ztTu0LaHWJQu9VcDApBQD16KX0yQ1NvRtVRy3Dabexd2kDw hrYISIL/FwaMi18izTqhWYfny3txDeTYdn7+YqV9fNyRQWggGfirChg0RNBifv1bkqkb UU5Q7OW9+lRT1u6DB2dvMG052MbkbwvPEa5DE2XCQwZvCDOX4UsAuxVJ3bDSl4MKOGCb mj6Q== 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=UWFGclreBqK14SYbMq2K7ZoXoM7JUPH8rO1VMNdVVW0=; b=Gh0J4Qc+T0ttH11aZZRA/nqvxBvI+G3Ly7UETtLbVteEjgBZ/5R4L9IB38SeKJssTf A/WEtXXiYvxfW0uu4XgYktc23EmWgolZoNhZDHQRcdA7Jg4iNC6n4ZzXRG/dvtnnoGOW psoiRV3lxStIhFiOc87nRdTlv7TAfcVpqHx4C8qs3dGgz/b7qjOCq5O0gH+Jv5AKgSa4 LnPw9teNNSBdR0LoaSRQZY+eaGyv8V9NHeGik5xRywsCHNG00Dy0CdgN9OvjdKHWqCMm Z8vU9igIGe/VErOmvkjhE9hzFT3CbMpsfeRuwbXLlxwo5mUTB77tcdnC+hOi0sYQwmNQ MJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UMMLnWG4; 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 f1si17414135plr.326.2019.05.06.23.56.36; Mon, 06 May 2019 23:56:52 -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=UMMLnWG4; 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 S1726570AbfEGGzn (ORCPT + 99 others); Tue, 7 May 2019 02:55:43 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43490 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbfEGGzn (ORCPT ); Tue, 7 May 2019 02:55:43 -0400 Received: by mail-pf1-f196.google.com with SMTP id c6so2934792pfa.10 for ; Mon, 06 May 2019 23:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UWFGclreBqK14SYbMq2K7ZoXoM7JUPH8rO1VMNdVVW0=; b=UMMLnWG4abHWBIpK7s91J324jWLx2vrsbjmPXim3igk7jRFo6ZQ6n83CALMKI/Axly G/lx7wzLrE1D6ZHk5aduEeg7Ts7VJ1bwcjIVQBeuDEQkToewjrcaKw5g6vdZegdTlHgJ Gpq9PbYgFW9jTYuH6aDEAA9dW846q6LtRdFtVJtKezkkZ4oCMgeIRAOilSme0DwHcMSV RAKHSSY2OGD6HuRts/594cqDzKi7gunoDuaj9UGMy8ZqL08qwVMWgzRj3cnWkHdyB8mG tyFWFZnXf45cfFlfISFcdEhVphX3J1C3zaJehPhyg16GBclqcHLzaOk694cHCZROZrC9 w9bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=UWFGclreBqK14SYbMq2K7ZoXoM7JUPH8rO1VMNdVVW0=; b=i+2DLtgX1Wc6kMBiSjRvXMe9sDwkh11lG/pX3Zp3yaafuE5oxxS13VL6ItvV52Id68 5hVHMZ3h1/eFs0+4ONFVpuJ/RQcksDa2pI3eoF95NMYFCLWvnfY2h79XTmRO8pDBegc5 w5NaKRAVqNclvxvzLeby7kvzb7cLSzLC9fTcgrdqHH39aKdFZHpSAzupxG06E3lrlhUe bVJBEDYYNofG6+c2VQQdoApj67HVtKmvmAlUiaWHbbJieZGRICr2le2n1Rgr6iATG7zZ Yj6jiWPgQNC9l+hopkUjw1/fZthp0hqki3rRn2dK8erldBlMx4yOo+3MM/jD5l121U/h 8MzQ== X-Gm-Message-State: APjAAAVs78ndV5DMO95raDjTE5umNJ297LwiVLVU9YGwvBI6Jfhfve9X v6sbxXTn4QXE7jeSVG6ORQe7EQ== X-Received: by 2002:a65:624f:: with SMTP id q15mr21964539pgv.436.1557212142702; Mon, 06 May 2019 23:55:42 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id o10sm19920594pfh.168.2019.05.06.23.55.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 06 May 2019 23:55:41 -0700 (PDT) Date: Mon, 6 May 2019 23:55:55 -0700 From: Bjorn Andersson To: Vinod Koul 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: <20190507065555.GB2085@tuxbook-pro> References: <20190506193115.20909-1-niklas.cassel@linaro.org> <20190507053547.GE16052@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190507053547.GE16052@vkoul-mobl> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > + 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