Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-23 Thread Stephen Warren
On 07/08/2012 03:18 AM, Catalin Marinas wrote: > On Fri, Jul 06, 2012 at 10:32:54PM +0100, Stephen Warren wrote: >> On 07/06/2012 03:05 PM, Catalin Marinas wrote: >>> The patch adds the kernel booting and the initial setup code. >>> Documentation/aarch64/booting.txt describes the booting protocol

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-23 Thread Stephen Warren
On 07/08/2012 03:18 AM, Catalin Marinas wrote: On Fri, Jul 06, 2012 at 10:32:54PM +0100, Stephen Warren wrote: On 07/06/2012 03:05 PM, Catalin Marinas wrote: The patch adds the kernel booting and the initial setup code. Documentation/aarch64/booting.txt describes the booting protocol on the

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Christopher Covington
Hi Catalin, On 07/20/2012 09:48 AM, Catalin Marinas wrote: > On Thu, Jul 19, 2012 at 06:31:07PM +0100, Christopher Covington wrote: >> On 07/18/2012 02:57 AM, Jon Masters wrote: >>> On 07/06/2012 05:05 PM, Catalin Marinas wrote: >>> +- CPU mode + All forms of interrupts must be masked

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Fri, Jul 20, 2012 at 02:47:36PM +0100, Christopher Covington wrote: > On 07/20/2012 03:10 AM, Jon Masters wrote: > > Unless you enter at EL2 you can never install a hypervisor. That's the > > reason for the requirement for generally entering at EL2 when possible. > > That brief explanation

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Thu, Jul 19, 2012 at 06:31:07PM +0100, Christopher Covington wrote: > On 07/18/2012 02:57 AM, Jon Masters wrote: > > On 07/06/2012 05:05 PM, Catalin Marinas wrote: > > > >> +- CPU mode > >> + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, > >> + IRQ and FIQ). > >> +

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Christopher Covington
Hi Jon, On 07/20/2012 03:10 AM, Jon Masters wrote: > On 07/19/2012 01:31 PM, Christopher Covington wrote: >> On 07/18/2012 02:57 AM, Jon Masters wrote: >>> On 07/06/2012 05:05 PM, Catalin Marinas wrote: >>> +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug,

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Fri, Jul 20, 2012 at 01:32:39PM +0100, Geert Uytterhoeven wrote: > On Fri, Jul 20, 2012 at 12:52 PM, Catalin Marinas > wrote: > > On Fri, Jul 20, 2012 at 09:28:12AM +0100, Arnd Bergmann wrote: > >> On Friday 20 July 2012, Jon Masters wrote: > >> > > I think it would be best to list the

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Geert Uytterhoeven
Hi Catalin, On Fri, Jul 20, 2012 at 12:52 PM, Catalin Marinas wrote: > On Fri, Jul 20, 2012 at 09:28:12AM +0100, Arnd Bergmann wrote: >> On Friday 20 July 2012, Jon Masters wrote: >> > > I think it would be best to list the technical limitations, from the >> > > kernel's perspective, of the

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Fri, Jul 20, 2012 at 09:28:12AM +0100, Arnd Bergmann wrote: > On Friday 20 July 2012, Jon Masters wrote: > > > I think it would be best to list the technical limitations, from the > > > kernel's perspective, of the unsupported exception levels and the > > > advantages of the supported exception

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Arnd Bergmann
On Friday 20 July 2012, Jon Masters wrote: > > I think it would be best to list the technical limitations, from the > > kernel's perspective, of the unsupported exception levels and the > > advantages of the supported exception levels here. If you want to guide > > system builders towards EL2, I

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Jon Masters
On 07/18/2012 05:07 AM, Will Deacon wrote: > On Wed, Jul 18, 2012 at 07:57:47AM +0100, Jon Masters wrote: >> On 07/06/2012 05:05 PM, Catalin Marinas wrote: >> >>> +- CPU mode >>> + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, >>> + IRQ and FIQ). >>> + The CPU must be in

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Jon Masters
On 07/19/2012 01:31 PM, Christopher Covington wrote: > On 07/18/2012 02:57 AM, Jon Masters wrote: >> On 07/06/2012 05:05 PM, Catalin Marinas wrote: >> >>> +- CPU mode >>> + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, >>> + IRQ and FIQ). >>> + The CPU must be in either

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Jon Masters
On 07/19/2012 01:31 PM, Christopher Covington wrote: On 07/18/2012 02:57 AM, Jon Masters wrote: On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, + IRQ and FIQ). + The CPU must be in either EL2 (RECOMMENDED)

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Jon Masters
On 07/18/2012 05:07 AM, Will Deacon wrote: On Wed, Jul 18, 2012 at 07:57:47AM +0100, Jon Masters wrote: On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, + IRQ and FIQ). + The CPU must be in either EL2

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Arnd Bergmann
On Friday 20 July 2012, Jon Masters wrote: I think it would be best to list the technical limitations, from the kernel's perspective, of the unsupported exception levels and the advantages of the supported exception levels here. If you want to guide system builders towards EL2, I think

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Fri, Jul 20, 2012 at 09:28:12AM +0100, Arnd Bergmann wrote: On Friday 20 July 2012, Jon Masters wrote: I think it would be best to list the technical limitations, from the kernel's perspective, of the unsupported exception levels and the advantages of the supported exception levels

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Geert Uytterhoeven
Hi Catalin, On Fri, Jul 20, 2012 at 12:52 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Fri, Jul 20, 2012 at 09:28:12AM +0100, Arnd Bergmann wrote: On Friday 20 July 2012, Jon Masters wrote: I think it would be best to list the technical limitations, from the kernel's perspective,

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Fri, Jul 20, 2012 at 01:32:39PM +0100, Geert Uytterhoeven wrote: On Fri, Jul 20, 2012 at 12:52 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Fri, Jul 20, 2012 at 09:28:12AM +0100, Arnd Bergmann wrote: On Friday 20 July 2012, Jon Masters wrote: I think it would be best to list

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Christopher Covington
Hi Jon, On 07/20/2012 03:10 AM, Jon Masters wrote: On 07/19/2012 01:31 PM, Christopher Covington wrote: On 07/18/2012 02:57 AM, Jon Masters wrote: On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, + IRQ and

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Thu, Jul 19, 2012 at 06:31:07PM +0100, Christopher Covington wrote: On 07/18/2012 02:57 AM, Jon Masters wrote: On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, + IRQ and FIQ). + The CPU must be in

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Catalin Marinas
On Fri, Jul 20, 2012 at 02:47:36PM +0100, Christopher Covington wrote: On 07/20/2012 03:10 AM, Jon Masters wrote: Unless you enter at EL2 you can never install a hypervisor. That's the reason for the requirement for generally entering at EL2 when possible. That brief explanation would make

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-20 Thread Christopher Covington
Hi Catalin, On 07/20/2012 09:48 AM, Catalin Marinas wrote: On Thu, Jul 19, 2012 at 06:31:07PM +0100, Christopher Covington wrote: On 07/18/2012 02:57 AM, Jon Masters wrote: On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-19 Thread Christopher Covington
On 07/18/2012 02:57 AM, Jon Masters wrote: > On 07/06/2012 05:05 PM, Catalin Marinas wrote: > >> +- CPU mode >> + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, >> + IRQ and FIQ). >> + The CPU must be in either EL2 (RECOMMENDED) or non-secure EL1. Why not secure EL1? >

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-19 Thread Christopher Covington
On 07/18/2012 02:57 AM, Jon Masters wrote: On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, + IRQ and FIQ). + The CPU must be in either EL2 (RECOMMENDED) or non-secure EL1. Why not secure EL1? Even

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-18 Thread Will Deacon
On Wed, Jul 18, 2012 at 07:57:47AM +0100, Jon Masters wrote: > On 07/06/2012 05:05 PM, Catalin Marinas wrote: > > > +- CPU mode > > + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, > > + IRQ and FIQ). > > + The CPU must be in either EL2 (RECOMMENDED) or non-secure EL1. >

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-18 Thread Jon Masters
On 07/06/2012 05:05 PM, Catalin Marinas wrote: > +- CPU mode > + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, > + IRQ and FIQ). > + The CPU must be in either EL2 (RECOMMENDED) or non-secure EL1. Even though this stuff is likely to be replaced with the result of some

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-18 Thread Jon Masters
On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, + IRQ and FIQ). + The CPU must be in either EL2 (RECOMMENDED) or non-secure EL1. Even though this stuff is likely to be replaced with the result of some of

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-18 Thread Will Deacon
On Wed, Jul 18, 2012 at 07:57:47AM +0100, Jon Masters wrote: On 07/06/2012 05:05 PM, Catalin Marinas wrote: +- CPU mode + All forms of interrupts must be masked in PSTATE.DAIF (Debug, SError, + IRQ and FIQ). + The CPU must be in either EL2 (RECOMMENDED) or non-secure EL1. Even

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-08 Thread Catalin Marinas
On Fri, Jul 06, 2012 at 10:32:54PM +0100, Stephen Warren wrote: > On 07/06/2012 03:05 PM, Catalin Marinas wrote: > > The patch adds the kernel booting and the initial setup code. > > Documentation/aarch64/booting.txt describes the booting protocol on the > > AArch64 Linux kernel. This is subject

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-08 Thread Catalin Marinas
On Fri, Jul 06, 2012 at 10:32:54PM +0100, Stephen Warren wrote: On 07/06/2012 03:05 PM, Catalin Marinas wrote: The patch adds the kernel booting and the initial setup code. Documentation/aarch64/booting.txt describes the booting protocol on the AArch64 Linux kernel. This is subject to

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-06 Thread Stephen Warren
On 07/06/2012 03:05 PM, Catalin Marinas wrote: > The patch adds the kernel booting and the initial setup code. > Documentation/aarch64/booting.txt describes the booting protocol on the > AArch64 Linux kernel. This is subject to change following the work on > boot standardisation, ACPI. > diff

[PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-06 Thread Catalin Marinas
The patch adds the kernel booting and the initial setup code. Documentation/aarch64/booting.txt describes the booting protocol on the AArch64 Linux kernel. This is subject to change following the work on boot standardisation, ACPI. Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas ---

[PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-06 Thread Catalin Marinas
The patch adds the kernel booting and the initial setup code. Documentation/aarch64/booting.txt describes the booting protocol on the AArch64 Linux kernel. This is subject to change following the work on boot standardisation, ACPI. Signed-off-by: Will Deacon will.dea...@arm.com Signed-off-by:

Re: [PATCH 08/36] AArch64: Kernel booting and initialisation

2012-07-06 Thread Stephen Warren
On 07/06/2012 03:05 PM, Catalin Marinas wrote: The patch adds the kernel booting and the initial setup code. Documentation/aarch64/booting.txt describes the booting protocol on the AArch64 Linux kernel. This is subject to change following the work on boot standardisation, ACPI. diff --git