From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 22 Jan 2016 14:17:48 -0600 Subject: [U-Boot] [PATCHv2 2/3] ARMv8/layerscape: Add FSL PPA support In-Reply-To: References: <1453369489-14131-1-git-send-email-Zhiqiang.Hou@freescale.com> <1453369489-14131-2-git-send-email-Zhiqiang.Hou@freescale.com> <1453493357.19133.93.camel@buserror.net> Message-ID: <1453493868.27129.2.camel@buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2016-01-22 at 20:14 +0000, Bhupesh Sharma wrote: > > > -----Original Message----- > > From: Scott Wood [mailto:oss at buserror.net] > > Sent: Saturday, January 23, 2016 1:39 AM > > To: york sun; Zhiqiang Hou; u-boot at lists.denx.de; > > albert.u.boot at aribaud.net; Mingkai.hu at freescale.com; Stuart Yoder; > > leoli at freescale.com; prabhakar at freescale.com; > > bhupesh.sharma at freescale.com; Zhiqiang Hou > > Subject: Re: [PATCHv2 2/3] ARMv8/layerscape: Add FSL PPA support > > > > On Fri, 2016-01-22 at 20:05 +0000, york sun wrote: > > > On 01/21/2016 01:53 AM, Zhiqiang Hou wrote: > > > > From: Hou Zhiqiang > > > > > > > > The FSL Primary Protected Application (PPA) is a software component > > > > loaded during boot which runs in TrustZone and remains resident > > > > after boot. > > > > > > > > Signed-off-by: Hou Zhiqiang > > > > --- > > > > Tested on LS1043A RDB board > > > > > > > > > > I presume PSCI is implemented in PPA. How does the SMP boot flow > > > change with PPA? U-boot has to remain functional in the absence of PPA, > > right? > > > > > > Would it be possible to write a readme for PPA? > > > > Also, how does the devicetree get updated to indicate the presence of > > PSCI? > > > > One needs to add PSCI node in the DTS for the same, claiming support for > PSCI specification. So then we need a different dts based on whether PPA is loaded? No thanks. > The cpu.enable_method needs to be changed from spin-table to psci as well. Right, that's part of updating the devicetree to indicate the presence of PSCI. > See http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/a > rm/psci.txt for details. I'm familiar with the binding. -Scott