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-devel

Re: [Xen-devel] [PATCH] Fix one dead loop case in host S3

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix one dead loop case in host S3
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 11:21:52 +0100
Delivery-date: Fri, 07 Sep 2007 03:22:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B2201@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfwVFyyj8rkFuzwQZagZ9TTehQvnQA5IuLD
Thread-topic: [Xen-devel] [PATCH] Fix one dead loop case in host S3
User-agent: Microsoft-Entourage/11.3.6.070618
Applied. It looks like Xen's XENPF_enter_acpi_sleep command only gets
invoked after the second write to the pm1a/pm1b control ports. So do we
actually need first-write handling in that hypercall? Is it going to be used
in future?

 -- Keir

On 6/9/07 08:05, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> Wake sts is only required to be checked for S1, and implementation
> is free to not touch wake sts bit for S3. The latter case is observed
> falling into loop on checking wake sts after sleep hypercall returns.
> Actually we only need to check hypercall return value here, and those
> checks belong to Xen instead.
> 
> (For linux-xen staging)
> Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx>
> 
> Thanks,
> Kevin
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

<Prev in Thread] Current Thread [Next in Thread>