From: david singleton <dsingleton@mvista.com>
To: Vitaly Wool <vitalywool@gmail.com>
Cc: linux-pm@lists.osdl.org
Subject: Re: Dynanic On-The-Fly Operating points for PowerOP
Date: Sat, 12 Aug 2006 11:12:36 -0700 [thread overview]
Message-ID: <6e60319a903f1fee77ac98fd0950252c@mvista.com> (raw)
In-Reply-To: <acd2a5930608120107k36653863vdfc8bd3875d395a9@mail.gmail.com>
On Aug 12, 2006, at 1:07 AM, Vitaly Wool wrote:
>> Yes, which is why Eugeny and I sent out the take 3 PowerOP patches. A
>> good discussion ensued and our updated patches are a result of that
>> discussion. If you disagree with our approach or think something is
>> missing, give us some specific feedback. Simply sending out a
>> separate
>> set of PowerOP patches is not joining in the current discussion. It
>> is
>> confusing and probably turning people off to the ideas. Is there
>> something specific missing or wrong with the patches we submitted that
>> required another set of patches to be developed? By joining in the
>> discussion, I mean that you should let us know this information. If
>> patches are your method for doing so, then at least provide a
>> description of what your patches address that ours does not. Right
>> now, its just unclear why there are two different powerop patchsets.
>
> May I disagree? Having an alternative implementation is never a bad
> thing, unless the sides are unable to co-operate ;)
> Let's try to compare implementations and their concepts, and benefit
> from both.
I agree that an alternative implementation is a good way to compare
and contrast ideas. And Matt knows that I'm easy to work with.
The ideas I'm trying to get across are that the different power
management
infrastructures can be unified in such a way as to benefit the kernel.
I believe the kernel would benefit from a unified power management
infrastructure and from a simplified approach to power management.
The second idea is that all operating states can be encapsulated
into a simple operating point concept. And operating points are
created from data supplied from the hardware vendor and validated,
just as cpufreq does today.
The encapsulated operating point mechanism I'm presenting provides
an architecture independent interface to the kernel's power management
framework while providing the necessary architecture
specific functions and data to individual platforms and individual
operating points.
The powerop structure provides the architecture independent interface
to the framework. The ops vectors provides the architecture, platform
and operating point specific interface to individual systems. The
void *md_data pointer provides a simple way to get architecture
dependent data to the operating point functions.
The patch I have ready today shows how these architecture
independent and dependent pieces work on an x86 centrino
and on an ARM Xscale platform.
I've convinced myself that an encapsulated operating point
concept can work across different architectures and even
on very complex power management capable hardware.
Both platforms have frequency and voltage management capability,
but the Xscale has a much more complex set of information necessary
to scale frequencies.
The last idea I'm trying to present is that the simplified interface to
use the operating points will benefit the user and the
power manager daemon. The user is presented a list of
supported operating points and uses them by writing their
name into the /sys/power/state file and the powerop framework
automagically transitions to the named operating point.
The patches are available at
http://source.mvista.com:~dsingleton/
There is the original set that worked on the x86 centrino for
2.6.18-rc1 and a new set that's incorporated suggestions
added the Xscale mainstone platform and been rolled to 2.6.18-rc4.
I'll send the individual patches out inlined in a bit.
David
I
>
>> Um, I thought the powerop write up and patches already sent out
>> addressed the goals discussed so far. We (everyone on the list) need
>> to collaborate on the powerop effort. Isolated development and
>> attempting to discuss two separate implementations won't get us very
>> far.
>
> I would like to suggest both sides to think over what the main
> differences of the concurring implementations are and share the
> thoughts with this list. That should really be helpful to work out the
> common solution.
>
>> My goal is to get PowerOP into the mainline kernel. If everyone
>> submits a different powerop implementation for those boards, then
>> people will see a fragmented concept that can not be generalized. The
>> possibility of Andrew and Linus accepting PowerOP will go from high to
>> never. Again, I don't see any reason for two separate development
>> efforts and patchsets. Please stop submitting separate patches and at
>> least attempt to collaborate on the current PowerOP patchsets under
>> discussion.
>
> I wouldn't say so. I would just like to see both implementations
> converging, but that is not to happen immediately. Anyway, this
> implies that both authors pay more attention to the other
> implementation.
>
> Vitaly
next prev parent reply other threads:[~2006-08-12 18:12 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
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 [this message]
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=6e60319a903f1fee77ac98fd0950252c@mvista.com \
--to=dsingleton@mvista.com \
--cc=linux-pm@lists.osdl.org \
--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