From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoffer Dall Date: Fri, 22 Nov 2013 08:49:39 -0800 Subject: [U-Boot] [linux-sunxi] Re: [PATCH 0/9] ARMv7: add PSCI support to u-boot In-Reply-To: References: <1385024402-23585-1-git-send-email-marc.zyngier@arm.com> <528E2111.4040605@arm.com> <1385109745.8521.41.camel@dagon.hellion.org.uk> Message-ID: <20131122164939.GI9314@cbox> 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, Nov 22, 2013 at 02:30:27PM +0530, Anup Patel wrote: > On Fri, Nov 22, 2013 at 2:12 PM, Ian Campbell wrote: > > On Fri, 2013-11-22 at 09:28 +0530, Anup Patel wrote: > >> An Independent binary of a secured firmware makes more sense here. > >> Also, if secured firmware is an independent binary then it need not be > >> open source. > > > > In which case it should/can not have anything to do with u-boot nor > > reuse any GPL'd u-boot code. The platform should supply the PSCI service > > itself if you want to do this. > > > > I for one don't see this as an advantage. > > Further, independent secure firmware can be also used by UEFI or other > bootloaders. > > For now we just need secure firmware loading service from u-boot, which > is what this patchset does. > As I see it this patchset seeks to provide (and does a good job of it) you with PSCI services on platforms where you don't already have this, so you avoid having to implement yet another platform-specific SMP boot-up sequence in the kernel. This is not about providing any generic support for secure firmware. Ideally, the platform would just ship with PSCI support and boot U-Boot in Hyp mode and everyone would be happy - whichever way vendors wish to do that is a completely different discussion than this patch set. -Christoffer