[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkda1mD1SO25NL=K-SqOUAtXGj=X+v6oaOSbSVJEdfAXZ0g@mail.gmail.com>
Date: Tue, 8 Sep 2015 15:21:05 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Dave Martin <Dave.Martin@....com>
Cc: Christopher Covington <cov@...eaurora.org>,
Mark Rutland <mark.rutland@....com>,
"Jon Medhurst (Tixy)" <tixy@...aro.org>,
Stephen Boyd <sboyd@...eaurora.org>,
Will Deacon <will.deacon@....com>,
Florian Fainelli <f.fainelli@...il.com>,
Russell King <linux@....linux.org.uk>,
Nicolas Pitre <nico@...aro.org>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Yingjoe Chen <yingjoe.chen@...iatek.com>,
Wang Nan <wangnan0@...wei.com>,
Kees Cook <keescook@...omium.org>,
Arnd Bergmann <arnd@...db.de>,
Gregory CLEMENT <gregory.clement@...e-electrons.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Paul Bolle <pebolle@...cali.nl>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Nathan Lynch <nathan_lynch@...tor.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Masahiro Yamada <yamada.m@...panasonic.com>,
Maxime Coquelin stm32 <mcoquelin.stm32@...il.com>,
Joakim Bech <joakim.bech@...il.com>,
Jens Wiklander <jens.wiklander@...aro.org>
Subject: Re: [PATCH] arm: Handle starting up in secure mode
On Wed, Aug 26, 2015 at 12:39 PM, Dave Martin <Dave.Martin@....com> wrote:
> Shouldn't the bootloader or firmware be doing this stuff, and if not,
> why not?
Firmware yes, bootloader no, or maybe.
Bootloaders IMO loads in images, checksum, even public key check or
whatever, then sets up the basics and boot them.
Some hacks in U-Boot install PSCI handlers. It is neat, but a hack:
a piece of code is compiled to a special offset and copied there
by U-Boot to install the PSCI handlers. I would be fine if that software
was not compiled as part of U-Boot, but another binary loaded by it.
This would be another such "neat hack" also leaving a minimal
monitor behind IIUC.
I see the simplicity it brings to compile a load of stuff into U-Boot,
but eahhhhhhh...
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists