linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: "linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	linux-pm <linux-pm@lists.linux-foundation.org>,
	Matthew Garrett <mjg@redhat.com>,
	Alan Stern <stern@rowland.harvard.edu>
Subject: Re: [PATCH 1/2] suspend: Move NVS save/restore code to generic suspend functionality
Date: Wed, 2 Jun 2010 01:34:46 +0200	[thread overview]
Message-ID: <201006020134.46962.rjw@sisk.pl> (raw)
In-Reply-To: <1275432410.6733.4.camel@maxim-laptop>

On Wednesday 02 June 2010, Maxim Levitsky wrote:
> On Wed, 2010-06-02 at 00:40 +0200, Rafael J. Wysocki wrote: 
> > On Tuesday 01 June 2010, Maxim Levitsky wrote:
> > > On Tue, 2010-06-01 at 23:31 +0200, Rafael J. Wysocki wrote: 
> > > > On Tuesday 01 June 2010, Maxim Levitsky wrote:
> > > > > Saving platform non-volatile state may be required for suspend to RAM as
> > > > > well as hibernation. Move it to more generic code.
> > > > > 
> > > > > Signed-off-by: Matthew Garrett <mjg@redhat.com>
> > > > > Signed-off-by: Matthew Garrett <maximlevitsky@gmail.com>
> > > > 
> > > > You made a mistake here.
> > > > 
> > > > Also, why are you resending the Matthews patches?  I think Len has seen them
> > > > already.
> > > Yea, a copypaste.
> > > 
> > > (I was told that if one submits modified patch, it adds his
> > > Signed-off-by.)
> > > 
> > > I rebased these on top of 
> > > ACPI / EC / PM: Fix race between EC transactions and system suspend'
> > > 
> > > To be honest, I just want to get some feedback on this.
> > > This was major issue that kept me from using otherwise prefect suspend
> > > to ram.
> > 
> > I think this is a change we should try, but there is a chance it will break
> > some systems.
> I doubt that. BIOSes are tested against windows, and since it has this
> behavior, all systems this patch could break wouldn't work in windows
> ether.

Still, some systems were broken by the saving-restoring NVS over hibernation.

> I was doing all kinds of attempts to fix this bug, and finally I found
> the cause for it.

I know and I'm not objecting to the patches.  I'm only saying we should be
careful with them.

Rafael

  reply	other threads:[~2010-06-01 23:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01 18:19 [PATCH] Store BIOS NVS area over s2ram [V2] Maxim Levitsky
2010-06-01 18:22 ` [PATCH 1/2] suspend: Move NVS save/restore code to generic suspend functionality Maxim Levitsky
2010-06-01 21:31   ` Rafael J. Wysocki
2010-06-01 21:52     ` Maxim Levitsky
2010-06-01 22:40       ` Rafael J. Wysocki
2010-06-01 22:46         ` Maxim Levitsky
2010-06-01 23:34           ` Rafael J. Wysocki [this message]
2010-06-10 13:58           ` [linux-pm] " Pavel Machek
2010-06-10 14:09             ` Matthew Garrett
2010-06-11 13:32               ` Henrique de Moraes Holschuh
2010-06-11 13:41                 ` Matthew Garrett
2010-06-01 18:22 ` [PATCH 2/2] ACPI: Store NVS state even when entering suspend to RAM Maxim Levitsky
  -- strict thread matches above, loose matches on Subject: below --
2010-05-28 20:32 [PATCH 1/2] suspend: Move NVS save/restore code to generic suspend functionality Matthew Garrett
2010-05-30 14:37 ` Maxim Levitsky
2010-06-04 19:11   ` Len Brown
2010-06-04 21:27     ` Maxim Levitsky
2010-06-04 21:30       ` Maxim Levitsky
2010-06-05 15:28     ` Maxim Levitsky
2010-06-10 15:11       ` Len Brown
2010-06-10 15:21         ` Maxim Levitsky
2010-06-04 18:22 ` Len Brown
2010-06-04 21:48   ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201006020134.46962.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=maximlevitsky@gmail.com \
    --cc=mjg@redhat.com \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).