Re: [PATCH v3 11/28] arm64/sve: Core task context handling

2017-10-13 Thread Dave Martin
On Fri, Oct 13, 2017 at 02:57:37PM +0100, Catalin Marinas wrote: > On Thu, Oct 12, 2017 at 05:05:07PM +0100, Dave P Martin wrote: > > On Wed, Oct 11, 2017 at 05:15:58PM +0100, Catalin Marinas wrote: > > > On Tue, Oct 10, 2017 at 07:38:28PM +0100, Dave P Martin wrote: > > > > diff --git

Re: [PATCH v3 11/28] arm64/sve: Core task context handling

2017-10-13 Thread Catalin Marinas
On Thu, Oct 12, 2017 at 05:05:07PM +0100, Dave P Martin wrote: > On Wed, Oct 11, 2017 at 05:15:58PM +0100, Catalin Marinas wrote: > > On Tue, Oct 10, 2017 at 07:38:28PM +0100, Dave P Martin wrote: > > > diff --git a/arch/arm64/include/asm/processor.h > > > b/arch/arm64/include/asm/processor.h > >

Re: [PATCH v3 11/28] arm64/sve: Core task context handling

2017-10-12 Thread Dave Martin
On Wed, Oct 11, 2017 at 05:15:58PM +0100, Catalin Marinas wrote: > On Tue, Oct 10, 2017 at 07:38:28PM +0100, Dave P Martin wrote: > > diff --git a/arch/arm64/include/asm/fpsimd.h > > b/arch/arm64/include/asm/fpsimd.h > > index 026a7c7..b1409de 100644 > > --- a/arch/arm64/include/asm/fpsimd.h > >

Re: [PATCH v3 11/28] arm64/sve: Core task context handling

2017-10-11 Thread Catalin Marinas
On Tue, Oct 10, 2017 at 07:38:28PM +0100, Dave P Martin wrote: > diff --git a/arch/arm64/include/asm/fpsimd.h b/arch/arm64/include/asm/fpsimd.h > index 026a7c7..b1409de 100644 > --- a/arch/arm64/include/asm/fpsimd.h > +++ b/arch/arm64/include/asm/fpsimd.h > @@ -72,6 +75,20 @@ extern void

[PATCH v3 11/28] arm64/sve: Core task context handling

2017-10-10 Thread Dave Martin
This patch adds the core support for switching and managing the SVE architectural state of user tasks. Calls to the existing FPSIMD low-level save/restore functions are factored out as new functions task_fpsimd_{save,load}(), since SVE now dynamically may or may not need to be handled at these