Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Re: x86/fpu: Disable AVX when eagerfpu is off
@ 2018-06-15 12:11 Julian Stecklina
  2018-06-15 14:14 ` Yu-cheng Yu
  0 siblings, 1 reply; 3+ messages in thread
From: Julian Stecklina @ 2018-06-15 12:11 UTC (permalink / raw)
  To: yu-cheng.yu, Thomas Prescher, stable


[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-15 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-15 12:11 x86/fpu: Disable AVX when eagerfpu is off Julian Stecklina
2018-06-15 14:14 ` Yu-cheng Yu
2018-06-15 14:20   ` Julian Stecklina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox