[PATCH -mm 1/2] kexec jump -v11: kexec jump
Huang, Ying
ying.huang at intel.com
Sun Jun 15 21:52:21 EDT 2008
On Fri, 2008-06-13 at 14:00 -0400, Vivek Goyal wrote:
[...]
> Ok, I found that in my config CONFIG_HIBERNATION was not enabled. After
> enabling CONFIG_HIBERNATION, both suspend to disk and kjump started
> working.
>
> Does that mean there is some dependency on code under CONFIG_HIBERNATION.
> If yes, I think this dependency should be resolved during compile time.
> May be addtional config option (CONFIG_KEXEC_JUMP), which also selects
> the CONFIG_HIBERNATION automatically etc...
Yes. kexec jump need to put devices into quiescent state and save
devices state into memory, which is implemented by calling hibernation
function: device_suspend(PMSG_FREEZE), whose implementation depends on
CONFIG_HIBERNATION.
So, I will add CONFIG_KEXEC_JUMP and select CONFIG_HIBERNATION
automatically.
Best Regards,
Huang Ying
More information about the kexec
mailing list