Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Huang, Ying <ying.huang@...>
Cc: Rafael J. Wysocki <rjw@...>, <nigel@...>, Kexec Mailing List <kexec@...>, <linux-kernel@...>, Eric W. Biederman <ebiederm@...>, Andrew Morton <akpm@...>, <linux-pm@...>, Jeremy Maitin-Shepard <jbms@...>
Date: Tuesday, November 20, 2007 - 10:58 am

On Tue, 20 Nov 2007, Huang, Ying wrote:


SUSPEND means that the system is about to go into a low-power state, so 
the driver should take the appropriate action to reduce the device's 
power consumption.  It should also stop all I/O and DMA to the device.  
Interrupts can remain enabled if the device is supposed to be a wakeup 
source; otherwise they should be disabled.

FREEZE means that the system is going to hibernate, and devices need to
be quiescent (no I/O, no DMA, and no interrupts) so that an atomic
memory snapshot can be captured.  The driver should take the
appropriate action to quiesce the device but the power level doesn't
need to change.

PRETHAW means that the system is going to resume from hibernation by
loading a previously-saved memory snapshot.  The driver should take the
appropriate action to quiesce the device (no I/O, no DMA, and no
interrupts) so that the snapshot can be safely restored, but the power
level doesn't need to change.  The driver may also want to put the
device into a special state so that the saved kernel's resume method
will recognize the device has undergone a hibernation cycle and needs
to be reinitialized.

Alan Stern

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Mon Nov 19, 2:22 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Mon Nov 19, 10:24 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Tue Nov 20, 8:00 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Wed Nov 21, 4:09 pm)
Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation -..., Alan Stern, (Tue Nov 20, 10:58 am)
Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation -..., Rafael J. Wysocki, (Tue Nov 20, 8:00 pm)