Re: [PATCH v5 1/2] arm64: adjust el0_sync so that a function can be called

2014-05-29 Thread Will Deacon
On Wed, May 28, 2014 at 08:35:51PM +0100, Larry Bassel wrote: > On 28 May 14 12:27, Will Deacon wrote: > > On Mon, May 26, 2014 at 07:56:12PM +0100, Larry Bassel wrote: > > > To implement the context tracker properly on arm64, > > > a function call needs to be made after debugging and > > > interru

Re: [PATCH v5 1/2] arm64: adjust el0_sync so that a function can be called

2014-05-28 Thread Larry Bassel
On 28 May 14 12:27, Will Deacon wrote: > Hi Larry, > > On Mon, May 26, 2014 at 07:56:12PM +0100, Larry Bassel wrote: > > To implement the context tracker properly on arm64, > > a function call needs to be made after debugging and > > interrupts are turned on, but before the lr is changed > > to po

Re: [PATCH v5 1/2] arm64: adjust el0_sync so that a function can be called

2014-05-28 Thread Will Deacon
Hi Larry, On Mon, May 26, 2014 at 07:56:12PM +0100, Larry Bassel wrote: > To implement the context tracker properly on arm64, > a function call needs to be made after debugging and > interrupts are turned on, but before the lr is changed > to point to ret_to_user(). If the function call > is made