]> git.baikalelectronics.ru Git - kernel.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)
commit253a76c311ad372293c3fb523dff4e32b5254a2b
tree61f2a1717e7d46751559a3dc897c05de8dfdb6d5
parentc838423d147695093437f4b6876787d6eb2811b8
[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