From: Thomas Gleixner <tglx@linutronix.de>
To: Andi Kleen <ak@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512
Date: Sun, 12 Mar 2017 18:30:46 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.20.1703121830140.3842@nanos> (raw)
In-Reply-To: <20170311172030.GE32070@tassilo.jf.intel.com>
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
next prev parent reply other threads:[~2017-03-12 17:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-11 0:32 [PATCH 1/2] x86/xsave: Move xsave initialization to after parsing early parameters Andi Kleen
2017-03-11 0:32 ` [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512 Andi Kleen
2017-03-11 10:46 ` Thomas Gleixner
2017-03-11 17:20 ` Andi Kleen
2017-03-12 17:30 ` Thomas Gleixner [this message]
2017-03-11 17:30 [PATCH 1/2] x86/xsave: Move xsave initialization to after parsing early parameters Andi Kleen
2017-03-11 17:30 ` [PATCH 2/2] x86/fpu: Support disabling AVX and AVX512 Andi Kleen
2017-04-19 23:03 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1703121830140.3842@nanos \
--to=tglx@linutronix.de \
--cc=ak@linux.intel.com \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).