Re: [U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-13 Thread Christoffer Dall
On 12 November 2013 22:22, Albert ARIBAUD wrote: > Hi Christoffer, > > On Tue, 12 Nov 2013 14:34:00 -0800, Christoffer Dall > wrote: > >> On 12 November 2013 13:29, Albert ARIBAUD wrote: >> > Hi Christoffer, >> > >> > On Tue, 12 Nov 2013 09:09:23 -0800, Christoffer Dall >> > wrote: >> > >> >> I

Re: [U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-12 Thread Albert ARIBAUD
Hi Christoffer, On Tue, 12 Nov 2013 14:34:00 -0800, Christoffer Dall wrote: > On 12 November 2013 13:29, Albert ARIBAUD wrote: > > Hi Christoffer, > > > > On Tue, 12 Nov 2013 09:09:23 -0800, Christoffer Dall > > wrote: > > > >> I suspect that if you are in Hyp mode, you should not worry about

Re: [U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-12 Thread Christoffer Dall
On 12 November 2013 13:29, Albert ARIBAUD wrote: > Hi Christoffer, > > On Tue, 12 Nov 2013 09:09:23 -0800, Christoffer Dall > wrote: > >> I suspect that if you are in Hyp mode, you should not worry about >> FIQ/IRQ mode, but just make sure to configure Hyp mode properly to >> handle interrupts.

Re: [U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-12 Thread Albert ARIBAUD
Hi Christoffer, On Tue, 12 Nov 2013 09:09:23 -0800, Christoffer Dall wrote: > I suspect that if you are in Hyp mode, you should not worry about > FIQ/IRQ mode, but just make sure to configure Hyp mode properly to > handle interrupts. (it's a separate entry in the exception vector and > you prob

Re: [U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-12 Thread Christoffer Dall
On 12 November 2013 08:53, Andre Przywara wrote: > On 11/12/2013 05:28 PM, Christoffer Dall wrote: >> >> On 12 November 2013 03:41, Albert ARIBAUD >> wrote: >>> >>> (Cc:ing Andre and Christoffer as they have discussed HYP on the ML.) >>> >>> Hello, >>> >>> I am working on changing the way IRQ/FIQ

Re: [U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-12 Thread Andre Przywara
On 11/12/2013 05:28 PM, Christoffer Dall wrote: On 12 November 2013 03:41, Albert ARIBAUD wrote: (Cc:ing Andre and Christoffer as they have discussed HYP on the ML.) Hello, I am working on changing the way IRQ/FIQ stacks are set up, from "on-the-fly in a hurry while in the handler" to "during

Re: [U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-12 Thread Christoffer Dall
On 12 November 2013 03:41, Albert ARIBAUD wrote: > (Cc:ing Andre and Christoffer as they have discussed HYP on the ML.) > > Hello, > > I am working on changing the way IRQ/FIQ stacks are set up, from > "on-the-fly in a hurry while in the handler" to "during init, so that > when entering the handle

[U-Boot] Question re HYP mode and IRQ/FIQ stack setting

2013-11-12 Thread Albert ARIBAUD
(Cc:ing Andre and Christoffer as they have discussed HYP on the ML.) Hello, I am working on changing the way IRQ/FIQ stacks are set up, from "on-the-fly in a hurry while in the handler" to "during init, so that when entering the handler, the stack is already correct". Setting the stack then requ