[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170311172030.GE32070@tassilo.jf.intel.com>
Date: Sat, 11 Mar 2017 09:20:30 -0800
From: Andi Kleen <ak@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Andi Kleen <andi@...stfloor.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512
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)
-Andi
Powered by blists - more mailing lists