From: Linus Torvalds Date: Sun, 12 Jan 2014 03:15:52 +0000 (-0800) Subject: x86, fpu, amd: Clear exceptions in AMD FXSAVE workaround X-Git-Tag: v3.13~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26bef1318adc1b3a530ecc807ef99346db2aa8b0;p=pandora-kernel.git x86, fpu, amd: Clear exceptions in AMD FXSAVE workaround Before we do an EMMS in the AMD FXSAVE information leak workaround we need to clear any pending exceptions, otherwise we trap with a floating-point exception inside this code. Reported-by: halfdog Tested-by: Borislav Petkov Link: http://lkml.kernel.org/r/CA%2B55aFxQnY_PCG_n4=0w-VG=YLXL-yr7oMxyy0WU2gCBAf3ydg@mail.gmail.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed