]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, hotplug: In the MWAIT case of play_dead, CLFLUSH the cache line
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 20 Sep 2010 20:04:45 +0000 (13:04 -0700)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Apr 2011 20:16:05 +0000 (16:16 -0400)
commitae30941bd05ecd8cf3719480ad7031f729d82735
treebe9570929bbf0588bdfb253e8e352c6605c447ac
parent1e2585671a2fcd5746fe4768c0a557fcfd4b2d8a
x86, hotplug: In the MWAIT case of play_dead, CLFLUSH the cache line

commit ce5f68246bf2385d6174856708d0b746dc378f20 upstream.

When we're using MWAIT for play_dead, explicitly CLFLUSH the cache
line before executing MONITOR.  This is a potential workaround for the
Xeon 7400 erratum AAI65 after having a spurious wakeup and returning
around the loop.  "Potential" here because it is not certain that that
erratum could actually trigger; however, the CLFLUSH should be
harmless.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Acked-by: Venkatesh Pallipadi <venki@google.com>
Cc: Asit Mallick <asit.k.mallick@intel.com>
Cc: Arjan van de Ven <arjan@linux.kernel.org>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/kernel/smpboot.c