Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-13 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/12/2015 04:52 PM, Dave Hansen wrote: > On 01/11/2015 01:46 PM, r...@redhat.com wrote: >> +/* + * The FPU state used depends on the capabilities of the >> hardware; the + * registers used for vector instructions on newer >> hardware are included

Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-13 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/12/2015 04:52 PM, Dave Hansen wrote: On 01/11/2015 01:46 PM, r...@redhat.com wrote: +/* + * The FPU state used depends on the capabilities of the hardware; the + * registers used for vector instructions on newer hardware are included + * in

Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-12 Thread Dave Hansen
On 01/11/2015 01:46 PM, r...@redhat.com wrote: > +/* > + * The FPU state used depends on the capabilities of the hardware; the > + * registers used for vector instructions on newer hardware are included > + * in the FPU state. > + */ > union thread_xstate { Tiny nit, if you happen to revise this

Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-12 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/12/2015 04:18 PM, Borislav Petkov wrote: > On Sun, Jan 11, 2015 at 04:46:23PM -0500, r...@redhat.com wrote: >> +++ b/arch/x86/include/asm/processor.h @@ -400,6 +400,11 @@ >> struct xsave_struct { /* new processor state extensions will go >>

Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-12 Thread Borislav Petkov
On Sun, Jan 11, 2015 at 04:46:23PM -0500, r...@redhat.com wrote: > From: Rik van Riel > > Add some documentation to data structures used for FPU context > switching. > > Signed-off-by: Rik van Riel > --- > arch/x86/include/asm/processor.h | 9 +++-- > arch/x86/kernel/cpu/common.c | 1

Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-12 Thread Borislav Petkov
On Sun, Jan 11, 2015 at 04:46:23PM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com Add some documentation to data structures used for FPU context switching. Signed-off-by: Rik van Riel r...@redhat.com --- arch/x86/include/asm/processor.h | 9 +++--

Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-12 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/12/2015 04:18 PM, Borislav Petkov wrote: On Sun, Jan 11, 2015 at 04:46:23PM -0500, r...@redhat.com wrote: +++ b/arch/x86/include/asm/processor.h @@ -400,6 +400,11 @@ struct xsave_struct { /* new processor state extensions will go here */ }

Re: [RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-12 Thread Dave Hansen
On 01/11/2015 01:46 PM, r...@redhat.com wrote: +/* + * The FPU state used depends on the capabilities of the hardware; the + * registers used for vector instructions on newer hardware are included + * in the FPU state. + */ union thread_xstate { Tiny nit, if you happen to revise this set

[RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-11 Thread riel
From: Rik van Riel Add some documentation to data structures used for FPU context switching. Signed-off-by: Rik van Riel --- arch/x86/include/asm/processor.h | 9 +++-- arch/x86/kernel/cpu/common.c | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git

[RFC PATCH 01/11] x86,fpu: document the data structures a little

2015-01-11 Thread riel
From: Rik van Riel r...@redhat.com Add some documentation to data structures used for FPU context switching. Signed-off-by: Rik van Riel r...@redhat.com --- arch/x86/include/asm/processor.h | 9 +++-- arch/x86/kernel/cpu/common.c | 1 + 2 files changed, 8 insertions(+), 2 deletions(-)