[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Revert 24973:50a70b652b43 "x86: Use deep C states for off-lined CPUs"



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1331111543 0
# Node ID e0d944b501512fe3b9866f79e95ad0f29cd5caca
# Parent  39aff519e7d43dcc58273f6e62310e2cdffa1b1f
Revert 24973:50a70b652b43 "x86: Use deep C states for off-lined CPUs"

applied already

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 39aff519e7d4 -r e0d944b50151 xen/arch/x86/acpi/cpu_idle.c
--- a/xen/arch/x86/acpi/cpu_idle.c      Wed Mar 07 07:44:33 2012 +0000
+++ b/xen/arch/x86/acpi/cpu_idle.c      Wed Mar 07 09:12:23 2012 +0000
@@ -566,7 +566,6 @@
 {
     struct acpi_processor_power *power;
     struct acpi_processor_cx *cx;
-    struct cpuinfo_x86 *c = &current_cpu_data;
 
     if ( (power = processor_powers[smp_processor_id()]) == NULL )
         goto default_halt;
@@ -602,23 +601,6 @@
             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);
-            inl(pmtmr_ioport_local);
-        }
     }
     else if ( current_cpu_data.x86_vendor == X86_VENDOR_AMD &&
               cx->entry_method == ACPI_CSTATE_EM_SYSIO )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.