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

2014-05-30 Thread Will Deacon
On Thu, May 29, 2014 at 10:45:03PM +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 after the

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

2014-05-30 Thread Will Deacon
On Thu, May 29, 2014 at 10:45:03PM +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 after the lr is

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

2014-05-29 Thread Larry Bassel
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 after the lr is changed the function will not return to the correct place. For

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

2014-05-29 Thread Larry Bassel
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 after the lr is changed the function will not return to the correct place. For

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

2014-05-29 Thread Larry Bassel
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 after the lr is changed the function will not return to the correct place. For

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

2014-05-29 Thread Larry Bassel
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 after the lr is changed the function will not return to the correct place. For