From: Qing He Subject: Re: What's the state of dom0 S3? It doesn't work on latest xen Date: Thu, 17 Sep 2009 23:53:43 +0800 Message-ID: <20090917155343.GA27106@ub-qhe2> References: <8686c3cd0909160901w34b3750dy5bd68434785018da@mail.gmail.com> <20090916164936.GF31123@reaktio.net> <8686c3cd0909161406v6acbcd38t4674d6c1d2b6ac43@mail.gmail.com> <4AB170F6.5020703@goop.org> <8FED46E8A9CA574792FC7AACAC38FE77028754E3B5@PDSMSX501.ccr.corp.intel.com> <4AB1A172.7050904@goop.org> <8686c3cd0909170100u1e7f5732o592aa4b4084baca3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <8686c3cd0909170100u1e7f5732o592aa4b4084baca3@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tom Rotenberg Cc: "xci-devel@lists.xensource.com" , Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , "Wei, Gang" List-Id: xen-devel@lists.xenproject.org On Thu, 2009-09-17 at 16:00 +0800, Tom Rotenberg wrote: > So, if i clone the latest xen unstable, and build it, it should work? > Well, although I got MSI device working after a S3 resume on my box, I just found it still lacking something. The hypervisor doesn't automatically restore the vectors to the physical devices, but only does that on a hypercall: physdev_restore_msi. I guess that it works because the S3 during is short and the addr/data are still in the device? > How should i send the machine to sleep? running 's2ram' causes a > segmentation fault... I uses the following: echo 0 > /sys/class/rtc/rtc0/wakealarm echo +20 > /sys/class/rtc/rtc0/wakealarm echo mem > /sys/power/state Thanks, Qing > > On Thu, Sep 17, 2009 at 5:39 AM, Jeremy Fitzhardinge wrote: > > On 09/16/09 18:14, Wei, Gang wrote: > >> Current dom0 S3 should work with pci=nomsi. For msi case, we already have workaround which may be sent out soon. The formal solution for msi case which may require config space emulation need more consideration & discussion. > >> > > > > Actually I applied the MSI workaround today. > > > > ? ?J > >