summaryrefslogtreecommitdiffstats
path: root/kernel/time.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-11 19:15:52 -0800
committerH. Peter Anvin <hpa@zytor.com>2014-01-11 19:15:52 -0800
commit26bef1318adc1b3a530ecc807ef99346db2aa8b0 (patch)
treed7fe46fa037ee060ce9fced2ccc5014d5552f6ea /kernel/time.c
parent1739f09e33d8f66bf48ddbc3eca615574da6c4f6 (diff)
downloadop-kernel-dev-26bef1318adc1b3a530ecc807ef99346db2aa8b0.zip
op-kernel-dev-26bef1318adc1b3a530ecc807ef99346db2aa8b0.tar.gz
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 <me@halfdog.net> Tested-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/CA%2B55aFxQnY_PCG_n4=0w-VG=YLXL-yr7oMxyy0WU2gCBAf3ydg@mail.gmail.com Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'kernel/time.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud