Re: [PATCH resend 02/15] arm64: add abstractions for FPSIMD state manipulation

2014-05-06 Thread Ard Biesheuvel
On 6 May 2014 16:43, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, May 01, 2014 at 04:49:34PM +0100, Ard Biesheuvel wrote: diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c index 4aef42a04bdc..86ac6a9bc86a 100644 --- a/arch/arm64/kernel/fpsimd.c +++

Re: [PATCH resend 02/15] arm64: add abstractions for FPSIMD state manipulation

2014-05-06 Thread Catalin Marinas
On Tue, May 06, 2014 at 03:48:08PM +0100, Ard Biesheuvel wrote: On 6 May 2014 16:43, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, May 01, 2014 at 04:49:34PM +0100, Ard Biesheuvel wrote: diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c index

Re: [PATCH resend 02/15] arm64: add abstractions for FPSIMD state manipulation

2014-05-06 Thread Catalin Marinas
On Tue, May 06, 2014 at 04:12:55PM +0100, Catalin Marinas wrote: On Tue, May 06, 2014 at 03:48:08PM +0100, Ard Biesheuvel wrote: On 6 May 2014 16:43, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, May 01, 2014 at 04:49:34PM +0100, Ard Biesheuvel wrote: diff --git

[PATCH resend 02/15] arm64: add abstractions for FPSIMD state manipulation

2014-05-01 Thread Ard Biesheuvel
There are two tacit assumptions in the FPSIMD handling code that will no longer hold after the next patch that optimizes away some FPSIMD state restores: . the FPSIMD registers of this CPU contain the userland FPSIMD state of task 'current'; . when switching to a task, its FPSIMD state will