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

[Xen-devel] [PATCH] linux-2.6.18/ACPI: allow passing down C1 information if no other C-states exist



Otherwise Xen may end up not using MWAIT despite its availability.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -780,7 +780,7 @@ static int acpi_processor_get_power_info
                          current_count));
 
        /* Validate number of power states discovered */
-       if (current_count < 2)
+       if (current_count < 1 + !processor_pm_external())
                status = -EFAULT;
 
       end:



Attachment: xen-acpi-pass-C1.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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