public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: linux-pm-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: Re: comments on irc log
Date: Wed, 23 Mar 2005 13:33:22 -0800	[thread overview]
Message-ID: <200503231333.22647.david-b@pacbell.net> (raw)
In-Reply-To: <20050323210835.GF30704-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

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

On Wednesday 23 March 2005 1:08 pm, Pavel Machek wrote:
> Hi!
> 
> > > Thing is, it's the system power states that are placing clock
> > > constraints on devices.  On OMAP, going into "deep sleep" means
> > > you've got to stop using the 48 MHz clock.  For "big sleep",
> > > you can keep using that clock.  Most other CPUs have similar
> > > constraints:  multiple system states, defined primarily by
> > > clock usage.  
> > 
> > 
> > So to focus on one point:  "pm_message_t" doesn't work well
> > at all, since it doesn't have a way to identify the target
> > system power state, and drivers thus have no way to see if
> > they should drop their requests for those clocks or whether
> > the hardware should keep working away.
> 
> Well, in current model,

That is, after pm_message_t change.  That represents a loss of
functionality.  Previously drivers received a target system
sleep state, and could make such deductions easily:  anything
like a PCI D3cold ("4") means maximal power off, anything like
a PCI D3hot ("3") is less aggressive, and so on.  (Not that all
drivers behaved right, or that the different incarnations of
the "pm core" code used "3" vs "4" sanely, etc.)

So maybe one question for tomorrow should be how we'll restore
that temporarily-list functionality.


> drivers shoudl stop all the activity they can 
> ("deep sleep"). If you want to add support for "big sleep", then you
> should probably use flags... I guess calling "big sleep" standby is
> okay...

That's the loss of functionality.  Previously drivers didn't need
to "stop all the activity they can" (PCI D3cold = 4), they also
had options that didn't assume swsusp poweroff (PCI D3hot = 3).

I don't know what you mean by "flags".  Mapping "big sleep" to a
"standby" might make sense, specifically for that one architecture,
but that doesn't seem like it'd address the  general issue.  What
if there are more than two such non-"disk" system states that need
support, for example?  Or about system states that relate to more
factors than just the CPU/SOC states?

- Dave

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



  parent reply	other threads:[~2005-03-23 21:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18  2:32 comments on irc log Benjamin Herrenschmidt
2005-03-18 16:56 ` Alan Stern
     [not found]   ` <Pine.LNX.4.44L0.0503181147110.1099-100000-3WpdWqXrU/qjv4eRiOYp3g@public.gmane.org>
2005-03-18 18:14     ` Pavel Machek
2005-03-18 23:07     ` Benjamin Herrenschmidt
2005-03-18 23:18       ` Pavel Machek
     [not found]         ` <20050318231801.GE24449-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-19  1:21           ` Benjamin Herrenschmidt
2005-03-19  3:23             ` Alan Stern
     [not found]               ` <Pine.LNX.4.44L0.0503182205040.30560-100000-pYrvlCTfrz9XsRXLowluHWD2FQJk+8+b@public.gmane.org>
2005-03-19 10:33                 ` Pavel Machek
     [not found]                   ` <20050319103351.GM24449-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-19 15:49                     ` Alan Stern
2005-03-19 12:02                 ` Benjamin Herrenschmidt
2005-03-19 10:32             ` Pavel Machek
2005-03-18 18:13 ` Pavel Machek
     [not found]   ` <20050318181317.GD18427-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-18 23:15     ` Benjamin Herrenschmidt
2005-03-21 20:06     ` Jordan Crouse
     [not found]       ` <20050321130612.135d726e-aftB2sG12IhaqnLngUycEA@public.gmane.org>
2005-03-21 20:03         ` Pavel Machek
2005-03-23 19:46 ` David Brownell
     [not found]   ` <200503231146.17105.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2005-03-23 19:53     ` David Brownell
     [not found]       ` <200503231153.48230.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2005-03-23 20:16         ` Todd Poynor
     [not found]           ` <4241CE9B.5050604-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2005-03-23 20:46             ` David Brownell
     [not found]               ` <200503231246.05656.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2005-03-24  1:57                 ` Todd Poynor
2005-03-23 21:08         ` Pavel Machek
     [not found]           ` <20050323210835.GF30704-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-23 21:33             ` David Brownell [this message]
     [not found]               ` <200503231333.22647.david-b-yBeKhBN/0LDR7s880joybQ@public.gmane.org>
2005-03-23 21:53                 ` Pavel Machek
     [not found]                   ` <20050323215330.GJ30704-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-24 18:40                     ` Patrick Mochel

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=200503231333.22647.david-b@pacbell.net \
    --to=david-b-ybekhbn/0ldr7s880joybq@public.gmane.org \
    --cc=linux-pm-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.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