lkml.org 
[lkml]   [2017]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512
On Sat, 11 Mar 2017, Andi Kleen wrote:

> On Sat, Mar 11, 2017 at 11:46:37AM +0100, Thomas Gleixner wrote:
> > > +enum xsave_features {
> > > + XSAVE_X87,
> > > + XSAVE_SSE,
> > > + XSAVE_AVX,
> > > + XSAVE_MPX_BOUNDS,
> > > + XSAVE_MPX_CSR,
> > > + XSAVE_AVX512_OPMASK,
> > > + XSAVE_AVX512_HI256,
> > > + XSAVE_AVX512_ZMM_HI256,
> > > + XSAVE_PT,
> > > + XSAVE_PKU,
> > > + XSAVE_UNKNOWN
> > > +};
> >
> > What's that enum for? It's unused ....
>
> It's not. The disable functions use it (although only the AVX parts)

Sorry, misread it.

Thanks,

tglx

\
 
 \ /
  Last update: 2017-03-12 18:31    [W:0.044 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site