lkml.org 
[lkml]   [2008]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [linux-pm] [PATCH -mm 2/2] kexec jump -v11: save/restore device state
From
Date
On Tue, 2008-06-10 at 14:01 -0400, Len Brown wrote:
>
> On Tue, 10 Jun 2008, Huang, Ying wrote:
>
> > This patch implements devices state save/restore before after kexec.
> >
> >
> > This patch together with features in kexec_jump patch can be used for
> > following:
> >
> > - A simple hibernation implementation without ACPI support. You can
> > kexec a hibernating kernel, save the memory image of original system
> > and shutdown the system. When resuming, you restore the memory image
> > of original system via ordinary kexec load then jump back.
>
> What part of ACPI's role in hibernation are you trying to avoid
> 1. enabling wake devices
> 2. removing power from the system
> 3. something else?

ACPI S5 is used instead of S4 for this simple hibernation
implementation. That is, before creating the hibernation image, the ACPI
_PTS is not executed, devices are not put into low power state and wake
devices are not enabled. After creating the hibernation image, the image
is saved to disk and system is shutdown (go to S5). When resuming from
hibernated image, ACPI _BFS and _WAK are not executed too.

Best Regards,
Huang Ying



\
 
 \ /
  Last update: 2008-06-11 03:01    [W:0.138 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site