]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] x86: Remove noreplacement option
authorAndi Kleen <ak@suse.de>
Tue, 24 Apr 2007 11:05:37 +0000 (13:05 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 24 Apr 2007 11:05:37 +0000 (13:05 +0200)
commit9ce883becb83190061369940de9c415595836c9b
tree61f2a1717e7d46751559a3dc897c05de8dfdb6d5
parentcf6387daf8858bdcb3e123034ca422e8979d73f1
[PATCH] x86: Remove noreplacement option

noreplacement is dangerous on modern systems because it will not replace the
context switch FNSAVE with SSE aware FXSAVE. But other places in the kernel still assume
SSE and do FXSAVE and the CPU will then access FXSAVE information with
FNSAVE and cause corruption.

Easiest way to avoid this is to remove the option. It was mostly for paranoia
reasons anyways and alternative()s have been stable for some time.

Thanks to Jeremy F. for reporting and helping debug it.

Signed-off-by: Andi Kleen <ak@suse.de>
Documentation/x86_64/boot-options.txt
arch/i386/kernel/alternative.c