Re: [Resend][PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-14 Thread Rafael J. Wysocki
On Saturday, 15 September 2007 01:37, Andrew Morton wrote: > On Wed, 12 Sep 2007 13:14:08 +0200 > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > > > + if (!hibernation_ops) > > + return -ENOSYS; > > + > > + /* > > +* We have cancelled the power transition by running > > +*

Re: [Resend][PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-14 Thread Andrew Morton
On Wed, 12 Sep 2007 13:14:08 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > + if (!hibernation_ops) > + return -ENOSYS; > + > + /* > + * We have cancelled the power transition by running > + * hibernation_ops->finish() before saving the image, so we should

Re: [Resend][PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-14 Thread Andrew Morton
On Wed, 12 Sep 2007 13:14:08 +0200 Rafael J. Wysocki [EMAIL PROTECTED] wrote: + if (!hibernation_ops) + return -ENOSYS; + + /* + * We have cancelled the power transition by running + * hibernation_ops-finish() before saving the image, so we should let + *

Re: [Resend][PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-14 Thread Rafael J. Wysocki
On Saturday, 15 September 2007 01:37, Andrew Morton wrote: On Wed, 12 Sep 2007 13:14:08 +0200 Rafael J. Wysocki [EMAIL PROTECTED] wrote: + if (!hibernation_ops) + return -ENOSYS; + + /* +* We have cancelled the power transition by running +*

[Resend][PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make hibernation_platform_enter() execute the enter-a-sleep-state sequence instead of the mixed shutdown-with-entering-S4 thing. Replace the shutting down of devices done by kernel_shutdown_prepare(), before entering the ACPI S4 sleep state, with

[Resend][PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Make hibernation_platform_enter() execute the enter-a-sleep-state sequence instead of the mixed shutdown-with-entering-S4 thing. Replace the shutting down of devices done by kernel_shutdown_prepare(), before entering the ACPI S4 sleep state, with

[PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make hibernation_platform_enter() execute the enter-a-sleep-state sequence instead of the mixed shutdown-with-entering-S4 thing. Replace the shutting down of devices done by kernel_shutdown_prepare(), before entering the ACPI S4 sleep state, with

[PATCH -mm] Hibernation: Enter platform hibernation state in a consistent way (rev. 4)

2007-09-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Make hibernation_platform_enter() execute the enter-a-sleep-state sequence instead of the mixed shutdown-with-entering-S4 thing. Replace the shutting down of devices done by kernel_shutdown_prepare(), before entering the ACPI S4 sleep state, with