Displaying 2 results from an estimated 2 matches for "acpi_cstate_em_sysio".
2012 Mar 01
3
[PATCH v2] x86: Use deep C states for off-lined CPUs
..._powers[smp_processor_id()]) == NULL )
goto default_halt;
@@ -601,6 +602,23 @@ static void acpi_dead_idle(void)
mb();
__mwait(cx->address, 0);
}
+ }
+ else if ( c->x86_vendor == X86_VENDOR_AMD &&
+ cx->entry_method == ACPI_CSTATE_EM_SYSIO )
+ {
+ /* Intel prefers not to use SYSIO */
+
+ /* Avoid references to shared data after the cache flush */
+ u32 address = cx->address;
+ u32 pmtmr_ioport_local = pmtmr_ioport;
+
+ wbinvd();
+
+ while ( 1 )
+ {
+ inb(address);
+...
2011 Feb 23
0
[PATCH] Fixing mwait usage when doing cpu offline
...CSTATE_EM_FFH:
/* Not treat interrupt as break event */
- mwait_idle_with_hints(cx->address, 0);
+ __monitor((void *)&mwait_wakeup(smp_processor_id()), 0, 0);
+ __mwait(cx->address, 0);
break;
case ACPI_CSTATE_EM_SYSIO:
inb(cx->address);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel