public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Belay <abelay@novell.com>
To: Daniel Petrini <d.pensator@gmail.com>
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>
Subject: Re: [RFC] A New Power Management API
Date: Fri, 15 Apr 2005 14:20:25 -0400	[thread overview]
Message-ID: <1113589226.3451.46.camel@localhost.localdomain> (raw)
In-Reply-To: <9268368b0504150616652c268b@mail.gmail.com>

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

On Fri, 2005-04-15 at 09:16 -0400, Daniel Petrini wrote:
> Hi,
> 
> Suggestion: as discussed in early weeks, why don't adopt names taking
> into consideration that Linux can run in systems other than desktops
> and servers?
> 
> #define PM_SYSTEM_STATE_SUSPEND_RAM     0x00000010
> #define PM_SYSTEM_STATE_SUSPEND_DISK    0x00000020
> 
> PM_SYSTEM_STATE_SUSPEND_DISK an be something like
> PM_SYSTEM_STATE_DEEP_SUSPEND and so on...
> 
> So you can have better acceptance of people working in other areas.
> 
> My two cents.
> Regards,
> 
> Daniel Petrini

My idea here was to provide some optional flags that describe
characteristics of a given system-specific state.  They may need to be
revised, but the intention was to provide meaningful information to
drivers without architecture specific code.  Architecture-specific
drivers will likely ignore these and pay more attention to the state
number.

Thanks,
Adam



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



  reply	other threads:[~2005-04-15 18:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15  2:46 [RFC] A New Power Management API Adam Belay
2005-04-15  8:21 ` Benjamin Herrenschmidt
2005-04-15 13:16 ` Daniel Petrini
2005-04-15 18:20   ` Adam Belay [this message]
2005-04-16 17:13   ` David Brownell
2005-04-17 20:26     ` Adam Belay
2005-04-15 15:50 ` Jordan Crouse
2005-04-15 18:54   ` Adam Belay
2005-04-16  2:53     ` Todd Poynor
2005-04-16 19:26       ` David Brownell
2005-04-19  3:09         ` Todd Poynor
2005-05-08 19:05           ` David Brownell
2005-04-16 18:24     ` David Brownell
2005-04-17 20:48       ` Adam Belay
2005-04-17 22:29         ` David Brownell
2005-04-17 23:01           ` Adam Belay
2005-04-16 17:27 ` David Brownell
2005-04-17 20:25   ` Adam Belay

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=1113589226.3451.46.camel@localhost.localdomain \
    --to=abelay@novell.com \
    --cc=d.pensator@gmail.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