public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Vitaly Wool <vitalywool@gmail.com>
Cc: patrick.mochel@intel.com, Matthew Locke <matt@nomadgs.com>,
	linux-pm@lists.osdl.org, sampsa.fabritius@nokia.com,
	linux@dominikbrodowski.net
Subject: Re: [RFC] PowerOP Take 3, ARM OMAP1 platform support 3/5
Date: Mon, 31 Jul 2006 14:24:42 -0700	[thread overview]
Message-ID: <200607311424.43847.david-b@pacbell.net> (raw)
In-Reply-To: <acd2a5930607302359w530cef97oca19179afd1369e1@mail.gmail.com>

On Sunday 30 July 2006 11:59 pm, Vitaly Wool wrote:
> > > Let me try to set it this way.
> > > struct powerop_point is an arch independent piece in the sense that any
> > > platform
> > > which leverages PorewOP concept should implement struct powerop_point.
> > > struct powerop_point is fundamental component that has to be defined by
> > > a platfrom.
> >
> > We're not communicating here ... if the contents are arch-specific,
> > it doesn't matter to the interface except that it exist.  A better
> > way to define it would be:
> >
> >         struct powerop_point {
> >                 struct kobject  kobj;
> >                 void            *arch_hook;
> >                 // presumably there will be method hooks too, like
> >                 int             (*enter_prepare)(struct powerop_point *);
> >                 int             (*enter)(struct powerop_point *);
> >                 int             (*enter_complete)(struct powerop_point *);
> >         };
> >
> > where that "void *" is the entire arch hook, and the kobj holds the
> > name and represents the /sys/power/... directory for that arch.
> 
> I do agree with David here (oh my, I'm in agreement with David on
> something, it's unbelievable ;)

We're allowed to agree when we're both right.  :)

Nitpick to my explanation:  that kobject would represent the sysfs
directory for that set of operating points, not the arch.

- Dave

  reply	other threads:[~2006-07-31 21:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20 20:01 [RFC] PowerOP Take 3, ARM OMAP1 platform support 3/5 Eugeny S. Mints
2006-07-23 16:24 ` David Brownell
2006-07-26 21:02   ` Eugeny S. Mints
2006-07-27  0:28     ` David Brownell
2006-07-30 19:32       ` Eugeny S. Mints
2006-07-31  1:58         ` David Brownell
2006-07-31  6:59           ` Vitaly Wool
2006-07-31 21:24             ` David Brownell [this message]
2006-08-01 20:52           ` Core PowerOP Interface Update [Was: Re: [RFC] PowerOP Take 3, ARM OMAP1 platform support 3/5] Eugeny S. Mints
2006-08-03  2:07             ` Eugeny S. Mints
2006-08-03 11:26               ` Vitaly Wool
2006-08-03 13:46                 ` Eugeny S. Mints
  -- strict thread matches above, loose matches on Subject: below --
2006-07-27  0:03 [RFC] PowerOP Take 3, ARM OMAP1 platform support 3/5 Gross, Mark

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=200607311424.43847.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-pm@lists.osdl.org \
    --cc=linux@dominikbrodowski.net \
    --cc=matt@nomadgs.com \
    --cc=patrick.mochel@intel.com \
    --cc=sampsa.fabritius@nokia.com \
    --cc=vitalywool@gmail.com \
    /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