public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Len Brown <lenb@kernel.org>
Cc: linux-pm@lists.linux-foundation.org,
	LKML <linux-kernel@vger.kernel.org>,
	Nigel Cunningham <nigel@nigel.suspend2.net>,
	Pavel Machek <pavel@ucw.cz>
Subject: Re: Suspend and hibernation status report
Date: Sat, 8 Sep 2007 23:40:36 +0200	[thread overview]
Message-ID: <200709082340.37018.rjw@sisk.pl> (raw)
In-Reply-To: <200709041932.21281.lenb@kernel.org>

On Wednesday, 5 September 2007 01:32, Len Brown wrote:
> On Friday 27 July 2007 04:57, Rafael J. Wysocki wrote:
> 
> Thanks for writing this, Rafael.
> 
> > * system hibernation state - state, in which the system's processors are off and
> >   its main memory is not powered, but the information necessary for continuing
> >   the computations carried out when the system was last in a working state is
> >   preserved in a storage space, such as a disk
> > * ACPI S4 state - system hibernation state, in which some information is
> >   preserved by the ACPI platform, in accordance with the ACPI specification
> 
> "some information is preserved by the ACPI platform" is sort of mis-leading.
> What ACPI adds to the hibernate flow is some platform hooks to handle
> wakeup devices, and a platform hook for the actual sleep request.
> I'm not aware of any information saved by ACPI during S4 that is
> not saved were the hibernate to be done with "acpi=off".

Well, I am.

On HPC nx6325 the status of AC adapter after the restore is not reported
correctly if hibernation is done without the ACPI hooks (eg. if you hibernate
with the AC connected and then disconnect it and resume, it will still be
reported as connected until you plug/unplug it).

There are more machines that behave similarly, AFAICT.

Greetings,
Rafael

  reply	other threads:[~2007-09-08 21:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27  8:57 Suspend and hibernation status report Rafael J. Wysocki
2007-09-04 23:32 ` Len Brown
2007-09-08 21:40   ` Rafael J. Wysocki [this message]
2007-09-09  9:10     ` Maciek Rutecki

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=200709082340.37018.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=nigel@nigel.suspend2.net \
    --cc=pavel@ucw.cz \
    /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