[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] ACPI S3 resume with Xen and Linux not working (will work in Linux v3.11) Was: Re: Re: crash on resume after suspend


  • To: Ben Guthro <ben@xxxxxxxxxx>, Pasi K?rkk?inen <pasik@xxxxxx>
  • From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
  • Date: Fri, 28 Jun 2013 14:44:18 +0000
  • Accept-language: zh-CN, en-US
  • Cc: Loke Bharti <lbharti@xxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 28 Jun 2013 14:51:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: AQHOca5FrG9gWEyhUEKjZxUeStOXOJlHooeA///R5wCAA4sJgP//g9gAgAAJVoCAAKpw4A==
  • Thread-topic: [Xen-devel] ACPI S3 resume with Xen and Linux not working (will work in Linux v3.11) Was: Re: Re: crash on resume after suspend

Ben Guthro wrote on 2013-06-28:
> On Fri, Jun 28, 2013 at 7:55 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
>> On Fri, Jun 28, 2013 at 11:27:28AM +0000, Cui, Dexuan wrote:
>>> Konrad Rzeszutek Wilk wrote on 2013-06-26:
>>>> On Wed, Jun 26, 2013 at 08:47:43AM +0000, Cui, Dexuan wrote:
>>>>> Konrad Rzeszutek Wilk wrote on 2013-06-25:
>>>>>> ACPI S3 resume is not yet working (but will with Linux 3.11) b/c the
>>>>>> patches to allow that functionality had not been merged upstream.
>>>>> Hi Konrad,
>>>>> Do you imply your own tree(which branch?)
>>>>>  (http://git.kernel.org/cgit/linux/kernel/git/konrad/xen.git)
>>>>>  can work with Dom0 S3?
>>>>> Where are the patches to support Dom0 S3? I'd like to try them.
>>>>> I see there is a branch devel/acpi-s3.v10 in the tree, but I'm not sure
> if
>>>> you meant it.
>>>> 
>>>> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
>>>> linux-next or bleeding-edge
>>>> 
>>>> You want to make sure these show up
>>>> 
>>>> 068e0dc xen / ACPI / sleep: Register an acpi_suspend_lowlevel
>>>> callback. d6a77ea x86 / ACPI / sleep: Provide registration for
>>>> acpi_suspend_lowlevel.
>>>> 
>>> Hi Konrad,
>>> Thanks for the information!
>>> 
>>> I'm using Xen-4.2.1 + Linux 3.8.8 and Dom0 S3 has such an issue:
>>> 
>> 
>> Afaik for ACPI S3 to work you need Xen 4.2.3 (so currently 4.2.2 + a
>> couple of patches from stable-4.2 branch):
>> 
>> 
> http://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4
> .2
>> 
>> These are the post 4.2.2 fixes for ACPI S3:
>> 
> http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=7fe762b3f06f0e81ce
> 5b3456dc61fc004562ef21
>> 
> http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=2dd5ee75cdc3101b7
> a90c8482a27d8cc990dd46d
>> 
> 
> The first is necessary, the second is not.
> 
> However, linux 3.8.8 will not work out of the box - you need to apply
> the changes Konrad pointed out, or else the machine will go to sleep,
> but never wake up.
Hi Ben, Pasi, thank you both very much for the info!

Next week, I'll try the latest xen 4.2 stable repo and latest upstream
Linux 3.9.8 plus the 2 commits((or more?) Konrad pointed out.
I hope it can work, then I can port the related patches to my specific
Xen/linux versions(I have to use the versions for some reason).

Thanks,
-- Dexuan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.