Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Julian Stecklina <js@alien8.de>
To: yu-cheng.yu@intel.com,
	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 14:11:10 +0200	[thread overview]
Message-ID: <06cd3941-9d74-fd39-dd81-8a6387bc2e35@alien8.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 628 bytes --]

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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 553 bytes --]

             reply	other threads:[~2018-06-15 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15 12:11 Julian Stecklina [this message]
2018-06-15 14:14 ` x86/fpu: Disable AVX when eagerfpu is off Yu-cheng Yu
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=06cd3941-9d74-fd39-dd81-8a6387bc2e35@alien8.de \
    --to=js@alien8.de \
    --cc=stable@vger.kernel.org \
    --cc=thomas.prescher@cyberus-technology.de \
    --cc=yu-cheng.yu@intel.com \
    /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