From: Matthew Locke <matt@nomadgs.com>
To: David Singleton <dsingleton@mvista.com>
Cc: linux-pm@lists.osdl.org
Subject: Re: Dynanic On-The-Fly Operating points for PowerOP
Date: Wed, 9 Aug 2006 14:17:38 -0700 [thread overview]
Message-ID: <bb52214749a48f317fba09eb522537bb@nomadgs.com> (raw)
In-Reply-To: <44D8D40F.50005@mvista.com>
Dave,
I think we need to focus on defining a powerop interface that will work
for all (or as close to all as possible) architectures and devices
types including embedded, laptop, server. As discussed in previous
emails, some of the goals for powerop are:
- Architecture/board independent interface
- Integrate with clk framework (and a voltage framework in the future)
for SoC/Board register setting abstraction
- Provide a layer that knows the SoC and board specifics about
relationship between voltage and frequency and setting operating points
(we call it PM Core)
- Provide a clean interface to build on top of (for cpu freq governors,
etc).
I think we can defer the discussion around creation of op points from
userspace, suspend/resume integration and transition notifiers. Once
we get the basics submitted we can add features piece by piece.
Rather than continue submitting different powerop patches I would
encourage you to join in the discussion about the interface. I think
Eugeny's latest patches are pretty close to satisfying the points made
so far. However, we are eagerly waiting feedback because there always
tradeoffs that need to be made when trying to satisfy the goals listed
above.
Thanks
Matt
On Aug 8, 2006, at 11:12 AM, David Singleton wrote:
> The patches provided in the following three emails continue the
> unified,
> simplified PowerOp concept of power management. The patches
> can be found at:
>
> http://source.mvista.com/~dsingleton
>
> powerop-core.patch
> powerop-cpufreq.patch
> powerop-x86-centrino.patch
>
>
> The patches break the working PowerOP feature into
> three logical parts. The first patch is the powerop-core.patch
> that adds support for an operating point in the standard linux
> power management infrastructure (CONFIG_PM) and adds a new
> function to perform transitioning to operating points other
> than suspend to memory or disk.
>
> The second patch, powerop-cpufreq.patch, adds the
> cpufreq
> portion of the patch that makes cpufreq tables a set of PowerOp
> operating points.
>
> The third patch, powerop-x86-centrino.patch, adds
> operating points for all the centrino-speedstep processors.
>
>
> This set of patches has changed in the following ways.
>
> 1) The patch is now broken out of the cpufreq code and
> implements
> operating points for whatever speedstep-centrino the system
> detects upon boot.
>
> 2) The naming scheme for operating points has been unified to
> provide a better interface to the PowerOp power manager daemon.
> The names range from:
>
> highest
> high
> medhigh
> medium
> medlow
> low
> lowest
>
> PowerOp maps the supported processor frequencies onto this
> namespace list. The set of centrino processors it supports
> have
> supported sets of between four and six different operating
> points.
>
> The PowerOP daemon, coming soon, can simply read the supported
> set of operating points and make some simple rules based
> decisions about when to transition to various operating points.
>
> The goal of a unified name space is to provide a PowerOp
> manager
> that runs out of the box, with very little setup by the user.
>
>
> 3) This patch supports the ability to provide dynamic,
> on-the-fly
> operating points to the framework via a loadable module. The
> operating
> point parameters of frequency, voltage and transition latency
> can be passed at insmod time to create any new operating point
> the centrino hardware will support.
>
>
> I think I finally understand the 'why' of hardware vendors
> asking
> for a requirement of dynamic, on the fly, operating points.
>
> I have two sets of hardware that support a wide range of
> processor speeds and voltages depending on:
>
> a) the rotary and dip switch setting of the board (the
> mainstone).
>
> or
>
> b) the revision or stepping of the hardware on the board.
>
> Certain revs of hardware support different frequencies and
> voltages.
> Some steppings won't run all the frequencies.
>
> The hardware vendors want to provide support for all the
> frequencies and voltages that the system could support,
> depending on the switch settings or rev of hardware without
> having to change kernel code and recompile the kernel.
>
> The new dynamic, on the fly, operating point module will allow
> for this feature.
>
>
> David
>
> _______________________________________________
> linux-pm mailing list
> linux-pm@lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/linux-pm
>
next prev parent reply other threads:[~2006-08-09 21:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-08 18:12 Dynanic On-The-Fly Operating points for PowerOP David Singleton
2006-08-09 21:17 ` Matthew Locke [this message]
2006-08-10 4:39 ` david singleton
2006-08-10 7:44 ` Matthew Locke
2006-08-12 8:07 ` Vitaly Wool
2006-08-12 18:12 ` david singleton
2006-08-12 21:32 ` david singleton
2006-08-12 21:39 ` david singleton
2006-08-12 21:40 ` david singleton
2006-08-12 21:41 ` david singleton
2006-08-16 15:02 ` Len Brown
2006-08-12 23:14 ` Matthew Locke
2006-08-13 2:25 ` Preece Scott-PREECE
2006-08-14 3:37 ` david singleton
2006-08-15 19:44 ` Pavel Machek
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=bb52214749a48f317fba09eb522537bb@nomadgs.com \
--to=matt@nomadgs.com \
--cc=dsingleton@mvista.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