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: Eric W. Biederman <ebiederm@...>, Pavel Machek <pavel@...>, <nigel@...>, Andrew Morton <akpm@...>, Jeremy Maitin-Shepard <jbms@...>, <linux-kernel@...>, <linux-pm@...>, Kexec Mailing List <kexec@...>
Date: Tuesday, November 20, 2007 - 8:00 pm

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

You should call platform_finish() here, or device_resume() will not work
appropriately on some systems.

However, after platform_finish() has been executed, the ACPI firmware will
assume that the hibernation has been canceled, so you need to tell it that
you'd like to go into the low power state after all.


For this reason, you have to call hibernation_ops->start() once again
and the other functions like in the swsusp case, in that order.


This looks too fragile to my eyes.

Why don't you call hibernation_ops->enter() directly from the "kexeced" kernel?

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 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 -..., Rafael J. Wysocki, (Tue Nov 20, 8:00 pm)