Re: [Xen-devel] [PATCH] xen/arm64: ensure that the correct SP is used for exceptions

2016-05-03 Thread Wei Liu
On Tue, May 03, 2016 at 11:43:34AM +0100, Julien Grall wrote: > (CC Wei for release-ack) > > Hello Kyle, > > On 28/04/16 18:14, Kyle Temkin wrote: > >From: "Kyle J. Temkin" > > > >The ARMv8 architecture has a SPSel ("stack pointer selection") machine > >register that allows us to determine which

Re: [Xen-devel] [PATCH] xen/arm64: ensure that the correct SP is used for exceptions

2016-05-03 Thread Julien Grall
(CC Wei for release-ack) Hello Kyle, On 28/04/16 18:14, Kyle Temkin wrote: From: "Kyle J. Temkin" The ARMv8 architecture has a SPSel ("stack pointer selection") machine register that allows us to determine which exception level's stack pointer is loaded when an exception occurs. As we don't w

[Xen-devel] [PATCH] xen/arm64: ensure that the correct SP is used for exceptions

2016-04-28 Thread Kyle Temkin
From: "Kyle J. Temkin" The ARMv8 architecture has a SPSel ("stack pointer selection") machine register that allows us to determine which exception level's stack pointer is loaded when an exception occurs. As we don't want to use the non-priveleged SP_EL0 stack pointer -- or even assume that SP_EL