Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-21 Thread Rafael J. Wysocki
On Wednesday, 21 of November 2007, Huang, Ying wrote: > On Wed, 2007-11-21 at 01:00 +0100, Rafael J. Wysocki wrote: > > On Tuesday, 20 of November 2007, Huang, Ying wrote: > > > On Tue, 2007-11-20 at 03:24 +0100, Rafael J. Wysocki wrote: > > > > On Tuesday, 20 of November 2007, Huang, Ying wrote: >

Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-21 Thread Huang, Ying
On Wed, 2007-11-21 at 01:00 +0100, Rafael J. Wysocki wrote: > On Tuesday, 20 of November 2007, Huang, Ying wrote: > > On Tue, 2007-11-20 at 03:24 +0100, Rafael J. Wysocki wrote: > > > On Tuesday, 20 of November 2007, Huang, Ying wrote: > > > > On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wr

Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-20 Thread Rafael J. Wysocki
On Tuesday, 20 of November 2007, Alan Stern wrote: > On Tue, 20 Nov 2007, Huang, Ying wrote: > > > - What is the difference between PMSG_SUSPEND and PMSG_FREEZE? > > SUSPEND means that the system is about to go into a low-power state, so > the driver should take the appropriate action to reduce

Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-20 Thread Rafael J. Wysocki
On Tuesday, 20 of November 2007, Huang, Ying wrote: > On Tue, 2007-11-20 at 03:24 +0100, Rafael J. Wysocki wrote: > > On Tuesday, 20 of November 2007, Huang, Ying wrote: > > > On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wrote: > > > > > +#ifdef CONFIG_KEXEC > > > > > +static void kexec_hib

Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-20 Thread Alan Stern
On Tue, 20 Nov 2007, Huang, Ying wrote: > - What is the difference between PMSG_SUSPEND and PMSG_FREEZE? SUSPEND means that the system is about to go into a low-power state, so the driver should take the appropriate action to reduce the device's power consumption. It should also stop all I/O a

Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-19 Thread Huang, Ying
On Tue, 2007-11-20 at 03:24 +0100, Rafael J. Wysocki wrote: > On Tuesday, 20 of November 2007, Huang, Ying wrote: > > On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wrote: > > > > +#ifdef CONFIG_KEXEC > > > > +static void kexec_hibernate_power_down(void) > > > > +{ > > > > + switch (hib

Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-19 Thread Rafael J. Wysocki
On Tuesday, 20 of November 2007, Huang, Ying wrote: > On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wrote: > > > +#ifdef CONFIG_KEXEC > > > +static void kexec_hibernate_power_down(void) > > > +{ > > > + switch (hibernation_mode) { > > > + case HIBERNATION_TEST: > > > + case HIBERNATION_TESTP

Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-19 Thread Huang, Ying
On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wrote: > > +#ifdef CONFIG_KEXEC > > +static void kexec_hibernate_power_down(void) > > +{ > > + switch (hibernation_mode) { > > + case HIBERNATION_TEST: > > + case HIBERNATION_TESTPROC: > > + break; > > + case HIBERNATION_REBOOT:

Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-19 Thread Rafael J. Wysocki
On Monday, 19 of November 2007, Huang, Ying wrote: > This patch implements kexec based hibernate/resume. This is based on > the facility provided by kexec_jump. The ACPI methods are called at > specified environment to conform the ACPI specification. Two new > reboot commands are added to trigger h

[PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

2007-11-18 Thread Huang, Ying
This patch implements kexec based hibernate/resume. This is based on the facility provided by kexec_jump. The ACPI methods are called at specified environment to conform the ACPI specification. Two new reboot commands are added to trigger hibernate/resume. Signed-off-by: Huang Ying <[EMAIL PROTECT