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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Monday, November 19, 2007 - 7:24 pm

On Tuesday, 20 of November 2007, Huang, Ying wrote:

Hm, you need to call device_power_down(PMSG_SUSPEND) before
hibernation_ops->enter().

Also, all of the ACPI global calls need to be carried out before that and the
devices should be suspended rather than shut down in that case.

That's why hibernation_platform_enter() has been introduced, BTW.


I see, but I'm not sure it's correct.


Please leave the freezer alone for now.  We'll clean up all that when we decide
to remove it.


Yes, please use as much of the existing code as reasonably possible, so that we
don't need to duplicate changes in the future.


Thanks.

There will be some more cosmetic changes in this area, probably before 2.6.25,
so please stay tuned.

Greetings,
Rafael
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hib ..., Rafael J. Wysocki, (Mon Nov 19, 7:24 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hib ..., Rafael J. Wysocki, (Tue Nov 20, 5:00 pm)
Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation ..., Rafael J. Wysocki, (Tue Nov 20, 5:00 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hib ..., Rafael J. Wysocki, (Wed Nov 21, 1:09 pm)