Return-Path: Received: from mail.skyhub.de ([5.9.137.197]:57788 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756118AbeFOOUO (ORCPT ); Fri, 15 Jun 2018 10:20:14 -0400 Date: Fri, 15 Jun 2018 14:20:10 +0000 In-Reply-To: <1529072090.17958.1.camel@2b52.sc.intel.com> References: <06cd3941-9d74-fd39-dd81-8a6387bc2e35@alien8.de> <1529072090.17958.1.camel@2b52.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: x86/fpu: Disable AVX when eagerfpu is off To: Yu-cheng Yu CC: Thomas Prescher , stable@vger.kernel.org From: Julian Stecklina Message-ID: <44AACD4B-5AB1-49C4-84AA-860ECBDCE716@alien8.de> Sender: stable-owner@vger.kernel.org List-ID: On June 15, 2018 2:14:50 PM UTC, Yu-cheng Yu wrote: >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. Wrong link. There was another one for AVX, but I saw it got reverted. Nevermind then. ;) Julian