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)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 20 Sep 2010 22:51:59 +0000 (15:51 -0700)
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>

No differences found