linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: + revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch added to -mm tree
       [not found] <200712110958.lBB9wDJl012816@imap1.linux-foundation.org>
@ 2007-12-11 13:01 ` Maxim Levitsky
  2007-12-11 20:40   ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Levitsky @ 2007-12-11 13:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, pavel, rjw

On Tuesday 11 December 2007 11:58:09 akpm@linux-foundation.org wrote:
> 
> The patch titled
>      revert "Hibernation: Enter platform hibernation state in a consistent way"
> has been added to the -mm tree.  Its filename is
>      revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch
> 
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
> 
> See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
> out what to do about this
> 
> ------------------------------------------------------
> Subject: revert "Hibernation: Enter platform hibernation state in a consistent way"
> From: Andrew Morton <akpm@linux-foundation.org>
> 
> Revert
> 
>     commit 9cd9a0058dd35268b24fa16795a92c800f4086d4
>     Author: Rafael J. Wysocki <rjw@sisk.pl>
>     Date:   Thu Oct 18 03:04:56 2007 -0700
> 
>         Hibernation: Enter platform hibernation state in a consistent way
> 
> Because it causes my t61p's suspend-to-RAM to immediately do a
> resume-from-RAM.
Noooo....

First of all, this commit doesn't touch the S3, so you probably
mean S4.

Secondary this commit just enables the wakeup devices in S4 mode.

It is just like removing the S4 altogether, it will also 'fix'
all the systems that don't suspend to disk properly.

At maximum there should be an option to do a mixed suspend
Enter using the firmware, but powerdown devices instead of suspend

Something like "platform_shutdown"

Best regards,
	Maxim Levitsky

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: + revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch added to -mm tree
  2007-12-11 13:01 ` + revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch added to -mm tree Maxim Levitsky
@ 2007-12-11 20:40   ` Andrew Morton
  2007-12-11 22:08     ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2007-12-11 20:40 UTC (permalink / raw)
  To: Maxim Levitsky; +Cc: linux-kernel, pavel, rjw

On Tue, 11 Dec 2007 15:01:13 +0200 Maxim Levitsky <maximlevitsky@gmail.com> wrote:

> On Tuesday 11 December 2007 11:58:09 akpm@linux-foundation.org wrote:
> > 
> > The patch titled
> >      revert "Hibernation: Enter platform hibernation state in a consistent way"
> > has been added to the -mm tree.  Its filename is
> >      revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch
> > 
> > *** Remember to use Documentation/SubmitChecklist when testing your code ***
> > 
> > See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
> > out what to do about this
> > 
> > ------------------------------------------------------
> > Subject: revert "Hibernation: Enter platform hibernation state in a consistent way"
> > From: Andrew Morton <akpm@linux-foundation.org>
> > 
> > Revert
> > 
> >     commit 9cd9a0058dd35268b24fa16795a92c800f4086d4
> >     Author: Rafael J. Wysocki <rjw@sisk.pl>
> >     Date:   Thu Oct 18 03:04:56 2007 -0700
> > 
> >         Hibernation: Enter platform hibernation state in a consistent way
> > 
> > Because it causes my t61p's suspend-to-RAM to immediately do a
> > resume-from-RAM.
> Noooo....
> 
> First of all, this commit doesn't touch the S3, so you probably
> mean S4.

Nope, I meant suspend-to-RAM.  The t61p was auto-resuming during
suspend-to-RAM.  However I just went in to confirm the fix and the bug (a
regression) has just gone away altogether(!).   I'll keep an eye on it.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: + revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch added to -mm tree
  2007-12-11 20:40   ` Andrew Morton
@ 2007-12-11 22:08     ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2007-12-11 22:08 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Maxim Levitsky, linux-kernel, pavel

On Tuesday, 11 of December 2007, Andrew Morton wrote:
> On Tue, 11 Dec 2007 15:01:13 +0200 Maxim Levitsky <maximlevitsky@gmail.com> wrote:
> 
> > On Tuesday 11 December 2007 11:58:09 akpm@linux-foundation.org wrote:
> > > 
> > > The patch titled
> > >      revert "Hibernation: Enter platform hibernation state in a consistent way"
> > > has been added to the -mm tree.  Its filename is
> > >      revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch
> > > 
> > > *** Remember to use Documentation/SubmitChecklist when testing your code ***
> > > 
> > > See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
> > > out what to do about this
> > > 
> > > ------------------------------------------------------
> > > Subject: revert "Hibernation: Enter platform hibernation state in a consistent way"
> > > From: Andrew Morton <akpm@linux-foundation.org>
> > > 
> > > Revert
> > > 
> > >     commit 9cd9a0058dd35268b24fa16795a92c800f4086d4
> > >     Author: Rafael J. Wysocki <rjw@sisk.pl>
> > >     Date:   Thu Oct 18 03:04:56 2007 -0700
> > > 
> > >         Hibernation: Enter platform hibernation state in a consistent way
> > > 
> > > Because it causes my t61p's suspend-to-RAM to immediately do a
> > > resume-from-RAM.
> > Noooo....
> > 
> > First of all, this commit doesn't touch the S3, so you probably
> > mean S4.
> 
> Nope, I meant suspend-to-RAM.  The t61p was auto-resuming during
> suspend-to-RAM.  However I just went in to confirm the fix and the bug (a
> regression) has just gone away altogether(!).   I'll keep an eye on it.

However, please don't revert
hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch, as it's
needed for the RTC wakealarm and some other things to work and it really,
really can't break suspend to RAM. :-)

[Or if it does, start looking for a new compiler ...]

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-11 21:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200712110958.lBB9wDJl012816@imap1.linux-foundation.org>
2007-12-11 13:01 ` + revert-hibernation-enter-platform-hibernation-state-in-a-consistent-way.patch added to -mm tree Maxim Levitsky
2007-12-11 20:40   ` Andrew Morton
2007-12-11 22:08     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).