Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1598695

Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512
Date 2017-03-12 18:40 +0100
Message-ID <tkfDk-4GO-33@gated-at.bofh.it> (permalink)
References <tjDeF-3cL-1@gated-at.bofh.it> <tjDeG-3cL-15@gated-at.bofh.it> <tjMKZ-1wM-5@gated-at.bofh.it> <tjT06-5YC-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] x86/xsave: Move xsave initialization to after parsing early parameters Andi Kleen <andi@firstfloor.org> - 2017-03-11 01:40 +0100
  [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512 Andi Kleen <andi@firstfloor.org> - 2017-03-11 01:40 +0100
    Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512 Thomas Gleixner <tglx@linutronix.de> - 2017-03-11 11:50 +0100
      Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512 Andi Kleen <ak@linux.intel.com> - 2017-03-11 18:30 +0100
        Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512 Thomas Gleixner <tglx@linutronix.de> - 2017-03-12 18:40 +0100

csiph-web