public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-pm] OpPoint summary
@ 2006-09-18 13:36 Scott E. Preece
  2006-09-18 13:46 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Scott E. Preece @ 2006-09-18 13:36 UTC (permalink / raw)
  To: pavel; +Cc: daviado, linux-pm, linux-kernel


| From: Pavel Machek<pavel@ucw.cz>
| 
| Hi!
| 
| > >Care to resend your patches in the proper format, through email so that
| > >we can see them, and possibly get some testing in -mm if they look sane?
| > 
| > Greg,
| >   here's the patch that implements operating points for different 
| >   frequencies
| > for the speedstep-centrino line of processors.  Operating points are created
| > in much the same manner that cpufreq tables are.  This works for both
| > simple implementations like the centrino and more complex SoC systems
| > like the arm-pxa72x which has several clocks to control, and different clock
| > divisors and multipliers.
| 
| > +static struct oppoint lowest = {
| > +       .name = "lowest",
| > +       .type = PM_FREQ_CHANGE,
| > +       .frequency = 0,
| > +       .voltage = 0,
| > +       .latency = 15,
| > +       .prepare_transition  = cpufreq_prepare_transition,
| > +       .transition = centrino_transition,
| > +       .finish_transition = cpufreq_finish_transition,
| > +};
| 
| We had nice, descriptive interface... with numbers. Now you want to
| introduce english state names... looks like a step back to me.
---

Well, a single number is fine if you're describing a scalar abstraction,
but an operating point is a vector. You can't assume that "399" is three
times "133" in performance or energy cost, so its "numberness" is simply
misleading.

scott

-- 
scott preece
motorola mobile devices, il67, 1800 s. oak st., champaign, il  61820  
e-mail:	preece@motorola.com	fax:	+1-217-384-8550
phone:	+1-217-384-8589	cell: +1-217-433-6114	pager: 2174336114@vtext.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: community PM requirements/issues and PowerOP [Was: Re: So, what's the status on the recent patches here?]
@ 2006-09-11  8:20 Pavel Machek
  2006-09-11 19:55 ` Pavel Machek
  2006-09-11 21:00 ` Pavel Machek
  0 siblings, 2 replies; 5+ messages in thread
From: Pavel Machek @ 2006-09-11  8:20 UTC (permalink / raw)
  To: Eugeny S. Mints; +Cc: pm list, scott.preece

Hi!

On Mon 2006-09-11 11:57:28, Eugeny S. Mints wrote:
> [snip]
> >> Are you arguing that the cpufreq interface be morphed to support power
> >> op applications?
> >
> > No. I'm arguing that
> >
> > * cpufreq interface should be used for changing cpu frequency
> the patch set i sent out has cpufreq used for changing cpu frequency,
> hasn't it?

I was talking about kernel<->user interface.

You did echo low > something to change CPU frequency, IIRC.

> can we eventually start talking more close to the code rather than
> speculating without it?

Lets get kernel<->user interface right, first. You'll need to create
Documentation/ entries for your interfaces, eventually, so lets do
that, first, and then talk about code. Oh and it would be nice to cc
lkml on that document, too. New kernel<->user interface is not
decision taken lightly.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-09-18 14:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-18 13:36 [linux-pm] OpPoint summary Scott E. Preece
2006-09-18 13:46 ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2006-09-11  8:20 community PM requirements/issues and PowerOP [Was: Re: So, what's the status on the recent patches here?] Pavel Machek
2006-09-11 19:55 ` Pavel Machek
2006-09-11 20:53   ` Eugeny S. Mints
2006-09-11 21:00 ` Pavel Machek
2006-09-11 22:05   ` Eugeny S. Mints
2006-09-11 22:56     ` cpufreq terminally broken [was Re: community PM requirements/issues and PowerOP] Pavel Machek
2006-09-12  0:17       ` Mark Gross
2006-09-12  3:37         ` Greg KH
2006-09-13 23:50           ` [linux-pm] " David Singleton
2006-09-14  5:55             ` OpPoint summary Greg KH
2006-09-14 17:07               ` David Singleton
2006-09-14 17:25                 ` Auke Kok
2006-09-14 18:15                   ` [linux-pm] " Vitaly Wool
2006-09-17 17:48                 ` Pavel Machek
2006-09-18 14:33                   ` [linux-pm] " Richard A. Griffiths
2006-09-17  5:07               ` David Singleton
2006-09-17 22:43                 ` [linux-pm] " Matthew Locke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox