WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] xen/ACPI: allow passing down C1 infor

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen/ACPI: allow passing down C1 information if no other C-states exist
From: Xen patchbot-linux-2.6.18-xen <patchbot@xxxxxxx>
Date: Sat, 27 Aug 2011 12:22:04 +0100
Delivery-date: Sat, 27 Aug 2011 04:22:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen/ACPI: allow passing down C1 information if no other C-states exist, Xen patchbot-linux-2 . 6 . 18-xen <=