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

2007-09-03 Thread Pavel Machek
Hi! > > > @@ -94,6 +94,10 @@ > > > unsigned long start_address, > > > unsigned int has_pae) ATTRIB_NORET; > > > > > > +#ifdef CONFIG_KEXEC_JUMP > > > +extern asmlinkage int machine_kexec_real_jump(void *buf); > > > +#endif > > > > Is it really neccessery to have ifdef here?

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

2007-09-03 Thread Pavel Machek
Hi! @@ -94,6 +94,10 @@ unsigned long start_address, unsigned int has_pae) ATTRIB_NORET; +#ifdef CONFIG_KEXEC_JUMP +extern asmlinkage int machine_kexec_real_jump(void *buf); +#endif Is it really neccessery to have ifdef here? It is not necessary.

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

2007-08-31 Thread Huang, Ying
On Mon, 2007-08-27 at 18:48 +, Pavel Machek wrote: > Hi! > > > To support jumping back from kexeced kernel, before executing the new > > kernel, the devices are put into quiescent state (to be fully > > implemented), and the state of devices and CPU is saved. After jumping > > back from

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

2007-08-31 Thread Pavel Machek
Hi! > To support jumping back from kexeced kernel, before executing the new > kernel, the devices are put into quiescent state (to be fully > implemented), and the state of devices and CPU is saved. After jumping > back from kexeced kernel, the state of devices and CPU are restored > accordingly.

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

2007-08-31 Thread Pavel Machek
Hi! To support jumping back from kexeced kernel, before executing the new kernel, the devices are put into quiescent state (to be fully implemented), and the state of devices and CPU is saved. After jumping back from kexeced kernel, the state of devices and CPU are restored accordingly. The

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

2007-08-31 Thread Huang, Ying
On Mon, 2007-08-27 at 18:48 +, Pavel Machek wrote: Hi! To support jumping back from kexeced kernel, before executing the new kernel, the devices are put into quiescent state (to be fully implemented), and the state of devices and CPU is saved. After jumping back from kexeced kernel,

[RFC][PATCH 1/2 -mm] kexec based hibernation: kexec jump

2007-08-26 Thread Huang, Ying
ChangeLog 2007/8/25 1. The reboot command LINUX_REBOOT_CMD_KJUMP is splited into to two reboot command to reflect the different function. 2. Document is added for added kernel parameters. 3. /sys/kernel/kexec_jump_buf_pfn is made writable, it is used for memory image restoring. 4.

[RFC][PATCH 1/2 -mm] kexec based hibernation: kexec jump

2007-08-26 Thread Huang, Ying
ChangeLog 2007/8/25 1. The reboot command LINUX_REBOOT_CMD_KJUMP is splited into to two reboot command to reflect the different function. 2. Document is added for added kernel parameters. 3. /sys/kernel/kexec_jump_buf_pfn is made writable, it is used for memory image restoring. 4.