Received: by 10.213.65.68 with SMTP id h4csp23358imn; Thu, 15 Mar 2018 08:27:04 -0700 (PDT) X-Google-Smtp-Source: AG47ELv0YSuWKhF8GGj27cIJgyqQpBqr1MmtAsRoHsD43QClZ2KcEvrt4UclYajXRlObSWDDUj3b X-Received: by 2002:a17:902:4643:: with SMTP id o61-v6mr8659129pld.103.1521127623977; Thu, 15 Mar 2018 08:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521127623; cv=none; d=google.com; s=arc-20160816; b=IbOMBKW8/1jWx/WFqsYdgTcUUvnbF1Vvh0s7GWJUHc//Rp3Owupsy/xHPZ4qX2hutx wvwR8jw6hGYXtIUPXY5XRYdyVPkrkBlWN76BYFEJaAd0LKnj+v8Q9mWIgpJpPnT7PaBM CJ2r+CNqU1bZ92y4wPd1+mlOudvJTYvcr7pVaQFz9N5kUYZIdwzhlTvFX8C8H7wiRANy LUWectZECfVE9DT1XBvVSSdZ1bY9GwR8yNvZPvawrknWjJs2ToPx96un6AagYPEHj6Wp OcnPDuCE4zdyR7W7L++rwDxT5UB7zW4i9nttKdjLxzGI83JlW9czd80H9EqR7U1Z117U dtzQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject:cc :arc-authentication-results; bh=sM7pnhE8IceikRFYxzKq/hA4K88QVNGgxpTx41YLplk=; b=AedXRCpLbplWGU1sLNOyP1/X0mYvC3R+hRXUV/6CQtPifTru/HbWYECwawKv+kAKH1 4aoCpuDRdKa77aj/mPpmMQlVk8FyCDlDNmp572yVlUfmew1oS8z1TeWgyij1GBlGU65M F8YDvHahWkpBvzYlLYNPEzTocOuTdgpE5Hcgdb2p1KraEYP9SSch3hVBamyjIJ3AsNT7 K4D06ihFmQ4I68DhtjgFVWDK245nI/fn3BB8HP7kzyWxSM/4PxzFZxJwqzfOFJKCe98I 25kBNC18kJSTW1QsjqKGFDEZGPNia3/5TbohyyCsmYB3kAO/FTJ5CM50IngOO0ehtm5g oLbw== 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 a91-v6si4145666pla.677.2018.03.15.08.26.49; Thu, 15 Mar 2018 08:27:03 -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 S932532AbeCOPZT (ORCPT + 99 others); Thu, 15 Mar 2018 11:25:19 -0400 Received: from foss.arm.com ([217.140.101.70]:41288 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932101AbeCOPZR (ORCPT ); Thu, 15 Mar 2018 11:25:17 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B8FE315AD; Thu, 15 Mar 2018 08:25:16 -0700 (PDT) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3E8C73F487; Thu, 15 Mar 2018 08:25:13 -0700 (PDT) Cc: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Sudeep Holla , Leo Li , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yuantian Tang Subject: Re: [PATCH 3/3] arm64: dts: update the cpu idle node To: Ran Wang , Shawn Guo References: <20180208075436.38443-1-ran.wang_1@nxp.com> <20180208075436.38443-3-ran.wang_1@nxp.com> From: Sudeep Holla Organization: ARM Message-ID: <346ad3d2-04e4-7df3-5187-36124b3c717b@arm.com> Date: Thu, 15 Mar 2018 15:25:12 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180208075436.38443-3-ran.wang_1@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (sorry for replying so late, just found this by accident when clearing old emails) On 08/02/18 07:54, Ran Wang wrote: > From: Yuantian Tang > > According to PSCI standard v0.2, for CPU_SUSPEND call, which is > used by cpu idle framework, bit[16] of state parameter must be 0. > So update bit[16] of property 'arm,psci-suspend-param', which is > used as state parameter, to 0. > This changelog makes zero sense to me. 1. PSCI specification makes no reference to "cpu idle framework". It's not a Linux specification to reference anything specific to Linux CPUIdle framework. 2. "for CPU_SUSPEND call,...bit[16] of state parameter must be 0." Where exactly to you see that ? Specification tells what value of 0 or 1 in bit[16] means. 3. Is this retention state and doesn't need any save restore ? If not this change is wrong and will break if and when we use CPU_PM_CPU_IDLE_ENTER_RETENTION if this bit is not set. -- Regards, Sudeep