Re: [edk2] [PATCH 3/3] ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions

2017-03-27 Thread Ard Biesheuvel
On 27 March 2017 at 13:54, Ard Biesheuvel wrote: > On 22 March 2017 at 13:18, Leif Lindholm wrote: >> On Mon, Mar 20, 2017 at 08:53:01PM +, Ard Biesheuvel wrote: >>> In order to be able to produce meaningful diagnostic output when taking

Re: [edk2] [PATCH 3/3] ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions

2017-03-27 Thread Ard Biesheuvel
On 22 March 2017 at 13:18, Leif Lindholm wrote: > On Mon, Mar 20, 2017 at 08:53:01PM +, Ard Biesheuvel wrote: >> In order to be able to produce meaningful diagnostic output when taking >> synchronous exceptions that have been caused by corruption of the stack >>

Re: [edk2] [PATCH 3/3] ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions

2017-03-22 Thread Ard Biesheuvel
On 22 March 2017 at 13:18, Leif Lindholm wrote: > On Mon, Mar 20, 2017 at 08:53:01PM +, Ard Biesheuvel wrote: >> In order to be able to produce meaningful diagnostic output when taking >> synchronous exceptions that have been caused by corruption of the stack >>

Re: [edk2] [PATCH 3/3] ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions

2017-03-22 Thread Leif Lindholm
On Mon, Mar 20, 2017 at 08:53:01PM +, Ard Biesheuvel wrote: > In order to be able to produce meaningful diagnostic output when taking > synchronous exceptions that have been caused by corruption of the stack > pointer, prepare the EL0 stack pointer and switch to it when handling the > 'Sync

[edk2] [PATCH 3/3] ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions

2017-03-20 Thread Ard Biesheuvel
In order to be able to produce meaningful diagnostic output when taking synchronous exceptions that have been caused by corruption of the stack pointer, prepare the EL0 stack pointer and switch to it when handling the 'Sync exception using SPx' exception class. Other exception classes (of which we