From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [PATCH v9 04/11] dt: psci: Update DT bindings to support hierarchical PSCI states Date: Fri, 12 Oct 2018 11:13:30 +0100 Message-ID: <20181012101330.GA31003@e107155-lin> References: <20181003143824.13059-1-ulf.hansson@linaro.org> <20181003143824.13059-5-ulf.hansson@linaro.org> <20181010150312.GA4844@e107155-lin> <20181011164126.GD28583@e107155-lin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Ulf Hansson Cc: "Raju P.L.S.S.S.N" , "Rafael J . Wysocki" , Lorenzo Pieralisi , Mark Rutland , Daniel Lezcano , Linux PM , Tony Lindgren , Kevin Hilman , Lina Iyer , Rob Herring , Viresh Kumar , Vincent Guittot , Geert Uytterhoeven , Linux ARM , linux-arm-msm , Linux Kernel Mailing List , Lina Iyer , Sudeep Holla List-Id: linux-pm@vger.kernel.org On Fri, Oct 12, 2018 at 11:43:11AM +0200, Ulf Hansson wrote: > On 11 October 2018 at 18:41, Sudeep Holla wrote: [...] > > Yes, nearly there. Just thought good to add a note that the representation > > has no affinity towards any PSCI idle state mechanism(PC or OSI). So > > that it's never assumed or misunderstood. > > I understand your point. However, I think the following sentence still > makes sense (exist in the suggest change above). > > "In PSCI firmware v1.0, the OS-Initiated mode is introduced. In order > to use it, the hierarchical representation must be used." > > How about if I add: "For the default platform-coordinated mode, both > representations are viable options." > I would also add couple of things, how about this order: In PSCI firmware v1.0, the OS-Initiated mode is introduced. However the flattened vs hierarchical DT representation of power domains is orthogonal to OS-Initiated vs platform-coordinated PSCI CPU suspend modes and should be considered independent of each other. The hierarchical representation helps and makes it easy to implement OSI mode and OS implementations may choose to mandate it. For the default platform-coordinated mode, both representations are viable options. -- Regards, Sudeep