All of lore.kernel.org
 help / color / mirror / Atom feed
* What's the state of dom0 S3? It doesn't work on latest xen
@ 2009-09-16 16:01 Tom Rotenberg
  2009-09-16 16:49 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 9+ messages in thread
From: Tom Rotenberg @ 2009-09-16 16:01 UTC (permalink / raw)
  To: xen-devel, xci-devel

Hi,

I'm using a Lenovo T400, and it fails to go to S3, with the latest
xen-unstable (which uses the 2.6.30-pvops kernel).
Does anyone know how to make it work?

Tom

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-16 16:01 What's the state of dom0 S3? It doesn't work on latest xen Tom Rotenberg
@ 2009-09-16 16:49 ` Pasi Kärkkäinen
  2009-09-16 21:06   ` Tom Rotenberg
  0 siblings, 1 reply; 9+ messages in thread
From: Pasi Kärkkäinen @ 2009-09-16 16:49 UTC (permalink / raw)
  To: Tom Rotenberg; +Cc: xci-devel, xen-devel

On Wed, Sep 16, 2009 at 07:01:05PM +0300, Tom Rotenberg wrote:
> Hi,
> 
> I'm using a Lenovo T400, and it fails to go to S3, with the latest
> xen-unstable (which uses the 2.6.30-pvops kernel).
> Does anyone know how to make it work?
> 

Hmm.. is xen-unstable checking out xen-tip/master instead of
rebase/master? 

rebase-master is at 2.6.31 atm..

-- Pasi

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-16 16:49 ` Pasi Kärkkäinen
@ 2009-09-16 21:06   ` Tom Rotenberg
  2009-09-16 23:12     ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: Tom Rotenberg @ 2009-09-16 21:06 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: xci-devel, xen-devel

well, i don't know...
2.6.31 should support S3?

On Wed, Sep 16, 2009 at 7:49 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> On Wed, Sep 16, 2009 at 07:01:05PM +0300, Tom Rotenberg wrote:
>> Hi,
>>
>> I'm using a Lenovo T400, and it fails to go to S3, with the latest
>> xen-unstable (which uses the 2.6.30-pvops kernel).
>> Does anyone know how to make it work?
>>
>
> Hmm.. is xen-unstable checking out xen-tip/master instead of
> rebase/master?
>
> rebase-master is at 2.6.31 atm..
>
> -- Pasi
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-16 21:06   ` Tom Rotenberg
@ 2009-09-16 23:12     ` Jeremy Fitzhardinge
  2009-09-17  1:14       ` Wei, Gang
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2009-09-16 23:12 UTC (permalink / raw)
  To: Tom Rotenberg; +Cc: xci-devel, xen-devel, Wei, Gang

On 09/16/09 14:06, Tom Rotenberg wrote:
> well, i don't know...
> 2.6.31 should support S3?
>   

I believe so.

    J

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-16 23:12     ` Jeremy Fitzhardinge
@ 2009-09-17  1:14       ` Wei, Gang
  2009-09-17  2:39         ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 9+ messages in thread
From: Wei, Gang @ 2009-09-17  1:14 UTC (permalink / raw)
  To: Jeremy Fitzhardinge, Tom Rotenberg
  Cc: xci-devel@lists.xensource.com, xen-devel@lists.xensource.com,
	He, Qing

Jeremy Fitzhardinge wrote:
> On 09/16/09 14:06, Tom Rotenberg wrote:
>> well, i don't know...
>> 2.6.31 should support S3?
>> 
> 
> I believe so.

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.

Jimmy

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-17  1:14       ` Wei, Gang
@ 2009-09-17  2:39         ` Jeremy Fitzhardinge
  2009-09-17  8:00           ` Tom Rotenberg
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Fitzhardinge @ 2009-09-17  2:39 UTC (permalink / raw)
  To: Wei, Gang
  Cc: Tom Rotenberg, xen-devel@lists.xensource.com, He, Qing,
	xci-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-17  2:39         ` Jeremy Fitzhardinge
@ 2009-09-17  8:00           ` Tom Rotenberg
  2009-09-17 15:53             ` Qing He
  0 siblings, 1 reply; 9+ messages in thread
From: Tom Rotenberg @ 2009-09-17  8:00 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: He, Qing, xci-devel@lists.xensource.com,
	xen-devel@lists.xensource.com, Wei, Gang

So, if i clone the latest xen unstable, and build it, it should work?

How should i send the machine to sleep? running 's2ram' causes a
segmentation fault...

On Thu, Sep 17, 2009 at 5:39 AM, Jeremy Fitzhardinge <jeremy@goop.org> 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
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-17  8:00           ` Tom Rotenberg
@ 2009-09-17 15:53             ` Qing He
  2009-09-17 19:25               ` Tom Rotenberg
  0 siblings, 1 reply; 9+ messages in thread
From: Qing He @ 2009-09-17 15:53 UTC (permalink / raw)
  To: Tom Rotenberg
  Cc: xci-devel@lists.xensource.com, Jeremy Fitzhardinge,
	xen-devel@lists.xensource.com, Wei, Gang

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 <jeremy@goop.org> 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
> >

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: What's the state of dom0 S3? It doesn't work on latest xen
  2009-09-17 15:53             ` Qing He
@ 2009-09-17 19:25               ` Tom Rotenberg
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Rotenberg @ 2009-09-17 19:25 UTC (permalink / raw)
  To: Qing He
  Cc: xci-devel@lists.xensource.com, Jeremy Fitzhardinge,
	xen-devel@lists.xensource.com, Wei, Gang

On which machine did u try it on?
what version of Xen & what version of the kernel were u using?

On Thu, Sep 17, 2009 at 6:53 PM, Qing He <qing.he@intel.com> wrote:
> 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 <jeremy@goop.org> 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
>> >
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-17 19:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-16 16:01 What's the state of dom0 S3? It doesn't work on latest xen Tom Rotenberg
2009-09-16 16:49 ` Pasi Kärkkäinen
2009-09-16 21:06   ` Tom Rotenberg
2009-09-16 23:12     ` Jeremy Fitzhardinge
2009-09-17  1:14       ` Wei, Gang
2009-09-17  2:39         ` Jeremy Fitzhardinge
2009-09-17  8:00           ` Tom Rotenberg
2009-09-17 15:53             ` Qing He
2009-09-17 19:25               ` Tom Rotenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.