Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3957919pxf; Tue, 16 Mar 2021 02:00:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLYEBlppnqZ2r4pt9HNl1nJitFzP6qqUyW77cjWtKQuRZO5RkEKUJ0Y0qbCDODrrvRIvbd X-Received: by 2002:a17:906:1956:: with SMTP id b22mr29264975eje.114.1615885213741; Tue, 16 Mar 2021 02:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615885213; cv=none; d=google.com; s=arc-20160816; b=AT1NlR1DkWhaXsXolWo15I3Jnu+OvAKBLq52kVSCk10DA2vvrIYlWAra4o+MnfTHcs gNb9PNWG1okg5vTxiUYUT5yS5v5JwU5EhFQ4NABynTnE4whf3of9WunUAXERRzj8xmN7 kG20EhTTIw9ufm2ji53UWVG9UIkeXvaqCHPqx+TAlkhj1F3bxgt9wyzClu7V7EyyDxci eZdrW+F5j8wXg40hQP4BjvyEgosH5dx7zAbo+52kn2LZ/Sok7xstBSaYe0YNkhcem+t8 C1hK3D4drzYzrqWwm4Tz7DXFUIeNrNQPbPOx94mdxPRc9bgXJpsuNL5jNQnWgqd85yIV AdwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4+PP/fXjQMXXWYBE7RpFv+i5foe+GvXG3zrFVOIRawU=; b=kq40of7c+ZPbd1K+lFEph/+276G1ulzRvTxHwUgtoSzhUdDby+MEmbm8BPr7Yp6m+u cZmmLiG6eN2abWYo1E3u5WGSRkhaIu/M6sRJ/yxE/8zFtoD36r9fClnyxnWyYfKXKFdR x5EQ7PjvnEakoZwmopnRq4VitSCXPNWgegsb5pyMjlLSyed6+fzdKZomZgnLHI7Rd59A vrVqabUMXiYELzBpb63eI0RZ+KJvpuZr9/Cm8T6pdR2Z37i56q6abVdiRYQA5gkoxjpC xUvdfFAuaMeMsoRgTnCYO3qibpOKTV9Ow7vlRJo4IH5g95NpiJ3iMZsCm86fkhqnpREm rDwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n1si5544237edv.538.2021.03.16.01.59.51; Tue, 16 Mar 2021 02:00:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235811AbhCPG5t (ORCPT + 99 others); Tue, 16 Mar 2021 02:57:49 -0400 Received: from foss.arm.com ([217.140.110.172]:48936 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235775AbhCPG5S (ORCPT ); Tue, 16 Mar 2021 02:57:18 -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 33DEAD6E; Mon, 15 Mar 2021 23:57:16 -0700 (PDT) Received: from bogus (unknown [10.163.66.225]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 846613F792; Mon, 15 Mar 2021 23:57:12 -0700 (PDT) Date: Tue, 16 Mar 2021 06:57:05 +0000 From: Sudeep Holla To: Sowjanya Komatineni Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, Lorenzo Pieralisi , Sudeep Holla , ksitaraman@nvidia.com, sanjayc@nvidia.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v1 3/5] dt-bindings: arm: Add cpu-idle-states to Tegra194 CPU nodes Message-ID: <20210316065705.bpuhsdjfa5nnwrik@bogus> References: <1614838092-30398-1-git-send-email-skomatineni@nvidia.com> <1614838092-30398-4-git-send-email-skomatineni@nvidia.com> <20210308043755.llvdsuz2jwvweovb@bogus> <4cebf482-a2f8-5a79-a2f6-4ccd7d31c6ad@nvidia.com> <20210311025138.o4ub4j2ss725zpv4@bogus> <08ac26c1-8257-4c6d-d274-595fee28a00f@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <08ac26c1-8257-4c6d-d274-595fee28a00f@nvidia.com> User-Agent: NeoMutt/20171215 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 12, 2021 at 02:27:30PM -0800, Sowjanya Komatineni wrote: > Hi Sudeep, > > To make our driver PSCI compliant below are few updates to be done > > 1. Standardize passing residency time run-time thru PSCI to ATF. > Yes that was my initial understanding, but your previous response was confusing. I should have read this first. >     From PSCI specification I only see PSCI_STAT_RESIDENCY and > PSCI_STAT_COUNT optional functions for PSCI1.0/PSCI1.1 > Indeed, we don't have any support to pass run-time residency hints in PSCI today. >    Can you please help add right people to explore on possible ways to add > PSCI function for passing corresponding state residency time to ATF? > Before we jump to implementation in TF-A we need to get agreement to get this added to the specification to support in OSPM/Linux. TF-A is just one implementation of PSCI and may not be only one. Formally you can raise any specification related queries to https://developer.arm.com/support or support@arm.com. I will ask the author of PSCI specification internally to take a look at this thread and chime in if they can. > 2. Tegra CPU Idle support definitely need to pass deepest cluster state and > threshold to MCE firmware from DT and looks like we can move this > implementation to ATF > Yes, I just asked the same question as response to your earlier email. Thanks for confirming that it can be moved out of OSPM/Linux and DT >      With both of the above implementation changes Tegra194 driver will be > PSCI compliant. > We still need to get agreement on the specification front ????. -- Regards, Sudeep