Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Saturday, September 22, 2007 - 2:51 pm

On Saturday, 22 September 2007 20:00, Kyle Moffett wrote:

Yes, if we entered S5 in the last step of the hibernation sequence, the right
thing to do would be to make the resumed kernel reinitialize ACPI from
scratch.


Usually it goes like that.  Still, you can pass "acpi=off" to the boot kernel,
in which case it won't reinitialize ACPI.


Well, this is not the case on any systems that I have access to, including
two quite modern notebooks.  Apparently, everything works without ACPI on
these machines.

Besides, in theory, it's possible to use an "intelligent" boot loader to read
the hibernation image and that doesn't need ACPI for anything.


It is possible, but I haven't seen that yet.
 

I think it's even more complicated.  The ACPI state of the resumed kernel
has to match whatever is preserved by the platform.

Well, my impression is that our current ACPI resume code actually expects
the platform to preserve something and if that's missing the devices in
question are not handled properly.  If that really is the case, there is the
question whether we can do something about it in a reasonable way and I can't
answer it right now.

Besides, I really think that we should use the ACPI S4 state, because machines
generally support that.

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

Messages in current thread:
Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexe ..., Eric W. Biederman, (Thu Sep 20, 7:55 pm)
Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexe ..., Eric W. Biederman, (Thu Sep 20, 8:33 pm)
Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexe ..., Eric W. Biederman, (Thu Sep 20, 9:01 pm)
Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexe ..., Eric W. Biederman, (Thu Sep 20, 9:46 pm)
Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexe ..., Rafael J. Wysocki, (Fri Sep 21, 4:56 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 5:09 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 5:10 am)
Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexe ..., Rafael J. Wysocki, (Fri Sep 21, 5:18 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 7:31 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 8:50 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Jeremy Maitin-Shepard, (Fri Sep 21, 11:11 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 12:00 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 1:15 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Jeremy Maitin-Shepard, (Fri Sep 21, 1:26 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 1:53 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Jeremy Maitin-Shepard, (Fri Sep 21, 2:08 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Jeremy Maitin-Shepard, (Fri Sep 21, 2:16 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Fri Sep 21, 2:25 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Sat Sep 22, 3:34 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Sat Sep 22, 3:40 am)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Sat Sep 22, 2:51 pm)
Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexe ..., Nigel Cunningham, (Wed Sep 26, 11:35 pm)
Re: [linux-pm] Re: [RFC][PATCH 1/2 -mm] kexec based hibern ..., Rafael J. Wysocki, (Wed Oct 24, 1:38 pm)