Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-10 Thread Grant Likely
On Tue, 10 Dec 2013 10:29:34 -0800, Roy Franz wrote: > On Tue, Dec 10, 2013 at 4:30 AM, Grant Likely wrote: > > On Fri, 6 Dec 2013 11:20:45 -0600, Matt Sealey wrote: > >> On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett > >> wrote: > >> > On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-10 Thread Roy Franz
On Tue, Dec 10, 2013 at 4:30 AM, Grant Likely wrote: > On Fri, 6 Dec 2013 11:20:45 -0600, Matt Sealey wrote: >> On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett wrote: >> > On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: >> Grant suggested I should propose some patches; sure, if I'm

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-10 Thread Grant Likely
On Fri, 6 Dec 2013 11:20:45 -0600, Matt Sealey wrote: > On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett wrote: > > On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: > Grant suggested I should propose some patches; sure, if I'm not otherwise > busy. > > Maybe the Linaro guys can

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-10 Thread Grant Likely
On Tue, 10 Dec 2013 10:29:34 -0800, Roy Franz roy.fr...@linaro.org wrote: On Tue, Dec 10, 2013 at 4:30 AM, Grant Likely grant.lik...@linaro.org wrote: On Fri, 6 Dec 2013 11:20:45 -0600, Matt Sealey n...@bakuhatsu.net wrote: On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett mj...@srcf.ucam.org

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-10 Thread Grant Likely
On Fri, 6 Dec 2013 11:20:45 -0600, Matt Sealey n...@bakuhatsu.net wrote: On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett mj...@srcf.ucam.org wrote: On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: Grant suggested I should propose some patches; sure, if I'm not otherwise busy.

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-10 Thread Roy Franz
On Tue, Dec 10, 2013 at 4:30 AM, Grant Likely grant.lik...@linaro.org wrote: On Fri, 6 Dec 2013 11:20:45 -0600, Matt Sealey n...@bakuhatsu.net wrote: On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett mj...@srcf.ucam.org wrote: On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: Grant

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-06 Thread Matt Sealey
On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett wrote: > On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: > >> there's no guarantee that the kernel hasn't been decompressed over >> some important UEFI feature or some memory hasn't been trashed. You >> can't make that guarantee because

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-06 Thread Matt Sealey
On Wed, Dec 4, 2013 at 4:44 PM, Matthew Garrett mj...@srcf.ucam.org wrote: On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: there's no guarantee that the kernel hasn't been decompressed over some important UEFI feature or some memory hasn't been trashed. You can't make that

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Leif Lindholm
On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: > By the time we get half-way through arm/kernel/head.S the cache and > MMU has been turned off and on and off again by the decompressor, and > after a large amount of guesswork and arbitrary restriction-based > implementation, there's

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Thu, 28 Nov 2013 16:41:21 +, Leif Lindholm wrote: > This patch provides documentation of the [U]EFI runtime service and > configuration features for the arm architecture. > > Changes since v1/v2: > - Complete rewrite. > - New FDT bindings. > > Cc: Rob Landley > Cc:

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Wed, 4 Dec 2013 15:06:47 -0600, Matt Sealey wrote: > If your platform has UEFI, then your platform has UEFI - if you built > a multiplatform kernel that needs to boot on U-Boot, then you glued an > EFI stub to it to make it boot. At some point between the stub and the > runtime services

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Mon, 2 Dec 2013 13:51:22 -0600, Matt Sealey wrote: > > +UEFI kernel support on ARM > > +== > > +UEFI kernel support on the ARM architectures (arm and arm64) is only > > available > > +when boot is performed through the stub. > > + > > +The stub populates the FDT

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Mon, 2 Dec 2013 13:51:22 -0600, Matt Sealey n...@bakuhatsu.net wrote: +UEFI kernel support on ARM +== +UEFI kernel support on the ARM architectures (arm and arm64) is only available +when boot is performed through the stub. + +The stub populates the FDT

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Wed, 4 Dec 2013 15:06:47 -0600, Matt Sealey n...@bakuhatsu.net wrote: If your platform has UEFI, then your platform has UEFI - if you built a multiplatform kernel that needs to boot on U-Boot, then you glued an EFI stub to it to make it boot. At some point between the stub and the runtime

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Thu, 28 Nov 2013 16:41:21 +, Leif Lindholm leif.lindh...@linaro.org wrote: This patch provides documentation of the [U]EFI runtime service and configuration features for the arm architecture. Changes since v1/v2: - Complete rewrite. - New FDT bindings. Cc: Rob Landley

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Leif Lindholm
On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: By the time we get half-way through arm/kernel/head.S the cache and MMU has been turned off and on and off again by the decompressor, and after a large amount of guesswork and arbitrary restriction-based implementation, there's no

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Matthew Garrett
On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: > there's no guarantee that the kernel hasn't been decompressed over > some important UEFI feature or some memory hasn't been trashed. You > can't make that guarantee because by entering the plain zImage, you > forfeited that

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Mark Salter
On Wed, 2013-12-04 at 15:06 -0600, Matt Sealey wrote: > On Mon, Dec 2, 2013 at 3:07 PM, Leif Lindholm > wrote: > > On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: > >> Here's where I think this whole thing falls down as being the weirdest > >> possible implementation of this. It

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Matt Sealey
On Mon, Dec 2, 2013 at 3:07 PM, Leif Lindholm wrote: > On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: >> Here's where I think this whole thing falls down as being the weirdest >> possible implementation of this. It defies logic to put this >> information in the device tree /chosen

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Matt Sealey
On Mon, Dec 2, 2013 at 3:07 PM, Leif Lindholm leif.lindh...@linaro.org wrote: On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: Here's where I think this whole thing falls down as being the weirdest possible implementation of this. It defies logic to put this information in the

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Mark Salter
On Wed, 2013-12-04 at 15:06 -0600, Matt Sealey wrote: On Mon, Dec 2, 2013 at 3:07 PM, Leif Lindholm leif.lindh...@linaro.org wrote: On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: Here's where I think this whole thing falls down as being the weirdest possible implementation

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Matthew Garrett
On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: there's no guarantee that the kernel hasn't been decompressed over some important UEFI feature or some memory hasn't been trashed. You can't make that guarantee because by entering the plain zImage, you forfeited that

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-02 Thread Leif Lindholm
On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: > Here's where I think this whole thing falls down as being the weirdest > possible implementation of this. It defies logic to put this > information in the device tree /chosen node while also attempting to > boot the kernel using an EFI

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-02 Thread Matt Sealey
> +UEFI kernel support on ARM > +== > +UEFI kernel support on the ARM architectures (arm and arm64) is only > available > +when boot is performed through the stub. > + > +The stub populates the FDT /chosen node with (and the kernel scans for) the > +following parameters: >

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-02 Thread Matt Sealey
+UEFI kernel support on ARM +== +UEFI kernel support on the ARM architectures (arm and arm64) is only available +when boot is performed through the stub. + +The stub populates the FDT /chosen node with (and the kernel scans for) the +following parameters:

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-02 Thread Leif Lindholm
On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: Here's where I think this whole thing falls down as being the weirdest possible implementation of this. It defies logic to put this information in the device tree /chosen node while also attempting to boot the kernel using an EFI

[PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-11-28 Thread Leif Lindholm
This patch provides documentation of the [U]EFI runtime service and configuration features for the arm architecture. Changes since v1/v2: - Complete rewrite. - New FDT bindings. Cc: Rob Landley Cc: linux-...@vger.kernel.org Signed-off-by: Leif Lindholm --- Documentation/arm/00-INDEX |3

[PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-11-28 Thread Leif Lindholm
This patch provides documentation of the [U]EFI runtime service and configuration features for the arm architecture. Changes since v1/v2: - Complete rewrite. - New FDT bindings. Cc: Rob Landley r...@landley.net Cc: linux-...@vger.kernel.org Signed-off-by: Leif Lindholm leif.lindh...@linaro.org