From: Pavel Machek <pavel@ucw.cz>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-pm <linux-pm@lists.osdl.org>
Subject: Re: suspend to disk modes, default mode
Date: Tue, 20 Mar 2007 11:20:29 +0100 [thread overview]
Message-ID: <20070320102029.GA19283@elf.ucw.cz> (raw)
In-Reply-To: <1174383848.3770.8.camel@johannes.berg>
Hi!
> > > Maybe we just need a pm_disk_modes bitmap and a default_pm_disk_mode
> > > member in struct pm_ops instead? What's firmware vs. platform anyway?
> >
> > bitmap would be nice. Firmware used to mean "let the bios do the whole
> > suspend", platform means "linux does the suspend, but we tell bios we
> > are doing it", shutdown means "linux does the suspend, does not tell
> > anyone".
>
> Well, actually, "let the bios do the whole suspend" should be
> implemented by a new PM_SUSPEND_FIRMWAREDISK mode that can be used
> instead of "disk" and is invoked through pm_ops directly w/o hitting the
> disk.c code. That would be the right way to invoke such a mode, however,
> currently, no platforms even have such a mode as far as I can tell.
Yes, ignore that. (ACPI can do that in S4bios case. I used to have
machine where it actually worked. It is obscure corner case these days).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
prev parent reply other threads:[~2007-03-20 10:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 0:47 suspend to disk modes, default mode Johannes Berg
2007-03-20 0:51 ` Johannes Berg
2007-03-20 1:03 ` Johannes Berg
2007-03-20 9:33 ` Pavel Machek
2007-03-20 9:44 ` Johannes Berg
2007-03-20 10:20 ` Pavel Machek [this message]
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=20070320102029.GA19283@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=johannes@sipsolutions.net \
--cc=linux-pm@lists.osdl.org \
/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