Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
xen.196
540f2624-x86-idle-add-barriers-to-CLFLUSH-worka...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 540f2624-x86-idle-add-barriers-to-CLFLUSH-workaround.patch of Package xen.196
# Commit 48d32458bcd453e31b458bca868a079a6d0a38af # Date 2014-09-09 18:09:08 +0200 # Author H. Peter Anvin <hpa@linux.intel.com> # Committer Jan Beulich <jbeulich@suse.com> x86, idle: add barriers to CLFLUSH workaround ... since the documentation is explicit that CLFLUSH is only ordered with respect to MFENCE. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/arch/x86/acpi/cpu_idle.c +++ b/xen/arch/x86/acpi/cpu_idle.c @@ -300,7 +300,11 @@ void mwait_idle_with_hints(unsigned int s_time_t expires = per_cpu(timer_deadline, cpu); if ( boot_cpu_has(X86_FEATURE_CLFLUSH_MONITOR) ) + { + mb(); clflush((void *)&mwait_wakeup(cpu)); + mb(); + } __monitor((void *)&mwait_wakeup(cpu), 0, 0); smp_mb();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor