[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] xen/ACPI: allow passing down C1 information if no other C-states exist
# HG changeset patch # User Keir Fraser <keir@xxxxxxx> # Date 1314443558 -3600 # Node ID 700f70b60d4b50e04228e54bf636ec882bf54968 # Parent 0b8a9b22b70a2a69f829182368ec4590d5e93792 xen/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> Signed-off-by: Keir Fraser <keir@xxxxxxx> --- diff -r 0b8a9b22b70a -r 700f70b60d4b drivers/acpi/processor_idle.c --- a/drivers/acpi/processor_idle.c Fri Aug 19 09:53:47 2011 +0100 +++ b/drivers/acpi/processor_idle.c Sat Aug 27 12:12:38 2011 +0100 @@ -780,7 +780,7 @@ current_count)); /* Validate number of power states discovered */ - if (current_count < 2) + if (current_count < (processor_pm_external() ? 1 : 2)) status = -EFAULT; end: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |