Re: [linux-pm] [PATCH -mm] kexec jump -v9

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Saturday, March 22, 2008 - 2:29 pm

On Saturday, 22 of March 2008, Alan Stern wrote:

The spec doesn't say much about that, so we'll need to carry out some
experiments.

Still, as far as I can figure out what the spec authors _might_ mean, I think
that it would be inappropriate to restore the ACPI NVS area if S5 was entered
on "power off".  The idea seems to be that the restoration of the ACPI NVS area
should complement whatever has been preserved by the platform over the
hibernation/resume cycle.

IMO, if S5 was entered on "powe off", there are two possible ways to go.
Either ACPI is initialized by the boot kernel, in which case the image kernel
should not touch things like _WAK and similar, just throw away whatever
ACPI-related state it got from the image and try to rebuild the ACPI-related
data from scratch.  Or the boot kernel doesn't touch ACPI and the image kernel
initializes it in the same way as during a fresh boot (that might be difficult,
though).

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

Messages in current thread:
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Pavel Machek, (Thu Mar 20, 3:40 am)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Rafael J. Wysocki, (Thu Mar 20, 3:45 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Alan Stern, (Thu Mar 20, 4:01 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Pavel Machek, (Thu Mar 20, 4:22 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Rafael J. Wysocki, (Thu Mar 20, 4:40 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Rafael J. Wysocki, (Thu Mar 20, 5:36 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Alan Stern, (Thu Mar 20, 5:52 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Nigel Cunningham, (Fri Mar 21, 3:05 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Pavel Machek, (Sat Mar 22, 9:21 am)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Rafael J. Wysocki, (Sat Mar 22, 10:45 am)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Alan Stern, (Sat Mar 22, 1:49 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Rafael J. Wysocki, (Sat Mar 22, 2:29 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Eric W. Biederman, (Wed May 14, 3:38 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Rafael J. Wysocki, (Wed May 14, 4:47 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Eric W. Biederman, (Thu May 15, 1:55 pm)
Re: [linux-pm] [PATCH -mm] kexec jump -v9, Rafael J. Wysocki, (Thu May 15, 2:20 pm)