public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Adam Belay <ambx1@neo.rr.com>
Cc: linux-pm@lists.osdl.org
Subject: Re: [RFC 0/3] Runtime PM support for named power states
Date: Wed, 5 Oct 2005 16:24:39 -0700	[thread overview]
Message-ID: <200510051624.40033.david-b@pacbell.net> (raw)
In-Reply-To: <20051005074445.GB3306@neo.rr.com>

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

On Wednesday 05 October 2005 12:44 am, Adam Belay wrote:
> On Tue, Oct 04, 2005 at 11:04:35PM -0700, David Brownell wrote: 
> > 
> > The PM core should just tell drivers to become compatible with some
> > new constraint (like ACPI S3, generally implying devices in PCI D2
> > or D3; while S1 doesn't) ... and not worry about whether that involves
> > a state change or not.
> > 
> > Maybe they're already _in_ that state for example.
> 
> Yeah, the thought occurred to me.  One way of approaching the problem is to
> have the PM core use logical states such as the following:
> 
> 1.) ON
> 2.) FREEZE
> 3.) SUSPEND
> 
> others?
> 
> This is similar to our current implementation.

Which is a problem, as I've described before.  The logical states
must be system-specific.  Some systems have more states than just
those three ... and in particular, the states have ** SOLID **
and ** PRECISE ** definitions.  Unlike those three.

At the risk of sounding like a broken record, I'll give the
same example I've given before:  some states may not support
particular clocks, like the 48 MHz USB clock.  So the driver
needs to know which ** PRECISE ** system-specific state is
being entered ... so it can turn off the clock if need be.

- Dave

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2005-10-05 23:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 20:14 [RFC 0/3] Runtime PM support for named power states Alan Stern
2005-10-02 20:43 ` Pavel Machek
2005-10-03 15:21   ` Alan Stern
2005-10-03 16:08     ` Jordan Crouse
2005-10-05  6:04 ` [RFC 0/3] " David Brownell
2005-10-05  7:44   ` Adam Belay
2005-10-05 23:24     ` David Brownell [this message]
2005-10-06 17:00       ` Alan Stern
2005-10-19  0:34 ` Benjamin Herrenschmidt
2005-10-19 15:17   ` Alan Stern

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=200510051624.40033.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=ambx1@neo.rr.com \
    --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