From: Yu-cheng Yu <yu-cheng.yu@intel.com>
To: Julian Stecklina <js@alien8.de>
Cc: Thomas Prescher <thomas.prescher@cyberus-technology.de>,
stable@vger.kernel.org
Subject: Re: x86/fpu: Disable AVX when eagerfpu is off
Date: Fri, 15 Jun 2018 07:14:50 -0700 [thread overview]
Message-ID: <1529072090.17958.1.camel@2b52.sc.intel.com> (raw)
In-Reply-To: <06cd3941-9d74-fd39-dd81-8a6387bc2e35@alien8.de>
On Fri, 2018-06-15 at 14:11 +0200, Julian Stecklina wrote:
> Yu,
>
> Regarding your patch to disable AVX with eager fpu disabled in the 4.4
> stable queue:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-4.4/x86-fpu-disable-mpx-when-eagerfpu-is-off.patch
>
> Why would this be necessary? In the Intel SDM Vol 2, Chapter 2.4,
> FPU/SIMD instructions are grouped into different classes and for all of
> them CR0.TS triggers a #NM exception in all modes but real mode and
> virtual 8086 mode.
>
> It seems to me lazy context switching of AVX is perfectly functional
> (disregarding the recently disclosed security issue). Am I missing
> something?
>
> Julian
This is for MPX, not AVX.
Yu-cheng
next prev parent reply other threads:[~2018-06-15 14:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-15 12:11 x86/fpu: Disable AVX when eagerfpu is off Julian Stecklina
2018-06-15 14:14 ` Yu-cheng Yu [this message]
2018-06-15 14:20 ` Julian Stecklina
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=1529072090.17958.1.camel@2b52.sc.intel.com \
--to=yu-cheng.yu@intel.com \
--cc=js@alien8.de \
--cc=stable@vger.kernel.org \
--cc=thomas.prescher@cyberus-technology.de \
/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