public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: David Brownell <david-b@pacbell.net>
Cc: Andrew Morton <akpm@osdl.org>,
	torvalds@osdl.org, linux-pm@lists.osdl.org
Subject: Re: RFC -- updated Documentation/power/devices.txt
Date: Wed, 12 Jul 2006 14:25:31 +0200	[thread overview]
Message-ID: <20060712122531.GA2094@elf.ucw.cz> (raw)
In-Reply-To: <200607111457.44161.david-b@pacbell.net>

Hi!

Not sure if I'm commenting on latest version...

>     PM_EVENT_FREEZE -- quiesce the driver, but don't necessarily change into
> 	any low power mode.  The driver's resume() will often be called soon.
> 	Neither wakeup events nor DMA are allowed.
> 
>     PM_EVENT_PRETHAW -- quiesce the driver, knowing that the upcoming resume()
> 	will restore a suspend-to-disk snapshot from a different kernel image.
> 	Drivers that are smart enough to look at their hardware state during
> 	resume() processing need that state to be correct ... a PRETHAW could
> 	be used to invalidate that state (by resetting the device).  Other
> 	drivers might handle this the same way as PM_EVENT_FREEZE.

"Neither wakeup events nor DMA are allowed." should be added here,
too.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2006-07-12 12:25 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-10 22:25 RFC -- updated Documentation/power/devices.txt David Brownell
2006-07-11  5:56 ` Andrew Morton
2006-07-11 16:38   ` David Brownell
2006-07-11 21:57   ` David Brownell
2006-07-12 12:25     ` Pavel Machek [this message]
2006-07-12 14:04     ` Alan Stern
2006-07-12 15:45       ` David Brownell
2006-07-12 16:03         ` Alan Stern
2006-07-23  1:37           ` David Brownell
2006-07-23  3:59             ` Alan Stern
2006-07-23 10:50               ` Rafael J. Wysocki
2006-07-23 13:03                 ` Alan Stern
2006-07-23 22:45                   ` Rafael J. Wysocki
2006-07-24  3:22                     ` David Brownell
2006-07-24  9:46                       ` Rafael J. Wysocki
2006-07-24 14:51                         ` Alan Stern
2006-07-24 15:15                           ` David Brownell
2006-07-24 15:42                             ` Alan Stern
2006-07-24 17:11                               ` David Brownell
2006-07-24 20:44                                 ` Alan Stern
2006-07-24 21:19                                   ` David Brownell
2006-07-25 15:42                                     ` Alan Stern
2006-08-10 23:38                                     ` [patch 2.6.18-rc] " David Brownell
2006-07-23 16:22               ` RFC -- " David Brownell
2006-07-11 14:40 ` Pavel Machek
2006-07-11 21:28 ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2006-07-11  7:56 Woodruff, Richard
2006-07-11 16:51 ` David Brownell

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=20060712122531.GA2094@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=akpm@osdl.org \
    --cc=david-b@pacbell.net \
    --cc=linux-pm@lists.osdl.org \
    --cc=torvalds@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