Re: x86/fpu: Disable AVX when eagerfpu is off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux