Re: [PATCH] arm: Remove early stack deallocation from restore_user_regs

2015-01-09 Thread Greg KH
On Fri, Jan 09, 2015 at 05:20:35PM +, Russell King - ARM Linux wrote: > On Fri, Jan 09, 2015 at 05:06:54PM +, Daniel Thompson wrote: > > On 09/01/15 16:46, Russell King - ARM Linux wrote: > > > On Mon, Jan 05, 2015 at 03:12:38PM +, Daniel Thompson wrote: > > >> Currently restore_user_re

Re: [PATCH] arm: Remove early stack deallocation from restore_user_regs

2015-01-09 Thread Russell King - ARM Linux
On Fri, Jan 09, 2015 at 05:06:54PM +, Daniel Thompson wrote: > On 09/01/15 16:46, Russell King - ARM Linux wrote: > > On Mon, Jan 05, 2015 at 03:12:38PM +, Daniel Thompson wrote: > >> Currently restore_user_regs deallocates the SVC stack early in > >> its execution and relies on no exceptio

Re: [PATCH] arm: Remove early stack deallocation from restore_user_regs

2015-01-09 Thread Daniel Thompson
On 09/01/15 16:46, Russell King - ARM Linux wrote: > On Mon, Jan 05, 2015 at 03:12:38PM +, Daniel Thompson wrote: >> Currently restore_user_regs deallocates the SVC stack early in >> its execution and relies on no exception being taken between >> the deallocation and the registers being restore

Re: [PATCH] arm: Remove early stack deallocation from restore_user_regs

2015-01-09 Thread Russell King - ARM Linux
On Mon, Jan 05, 2015 at 03:12:38PM +, Daniel Thompson wrote: > Currently restore_user_regs deallocates the SVC stack early in > its execution and relies on no exception being taken between > the deallocation and the registers being restored. The introduction > of a default FIQ handler that also

[PATCH] arm: Remove early stack deallocation from restore_user_regs

2015-01-05 Thread Daniel Thompson
Currently restore_user_regs deallocates the SVC stack early in its execution and relies on no exception being taken between the deallocation and the registers being restored. The introduction of a default FIQ handler that also uses the SVC stack breaks this assumption and can result in corrupted re

[RFC PATCH] arm: Remove early stack deallocation from restore_user_regs

2014-12-12 Thread Daniel Thompson
Currently restore_user_regs deallocates the SVC stack early in its execution and relies on no exception being taken between the deallocation and the registers being restored. The introduction of a default FIQ handler that also uses the SVC stack breaks this assumption and can result in corrupted re