linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Nishanth menon <menon.nishanth@gmail.com>
Cc: "Premi, Sanjeev" <premi@ti.com>, "Menon, Nishanth" <nm@ti.com>,
	Koen Kooi <koen@dominion.thruhere.net>,
	linux-omap@vger.kernel.org, eduardo.valentin@nokia.com
Subject: Re: omap3 pm: dependency between opp layer and cpufreq
Date: Fri, 28 May 2010 10:57:52 -0700	[thread overview]
Message-ID: <876327ewnz.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1275065163.10319.5.camel@Nokia-N900-51-1> (Nishanth menon's message of "Fri\, 28 May 2010 18\:46\:03 +0200")

Nishanth menon <menon.nishanth@gmail.com> writes:

[...]

>> 'mpurate' is usually used when cpufreq is not required. It
>> means - set me up for the specified freq and forget it. There
>> is no further change needed/ possible.
>
> That opens up the question - why not use cpufreq with userspace
> governor instead?  Esp if u dont want a change in freq, ok i get the
> part where u'd like a single freq for the system to function at, but
> u also mention, mpurate is for systems that dont care abt any other
> dependencies. So, bit of a contradiction if it depends on scaling
> voltage to the right level aka u are selecting an freq from opp
> table.
>
> This in my mind means u shud modify mpurate to use opp layer aka
> another user beyond cpufreq.

>>
>> You could always argue that it can be done in u-boot; but this
>> bootarg helps people choose target freq keeping the u-boot same.
>
> Errr..... Makes me feel that u shud really be using cpufreq instead! Either way
> i am not completely convinced u shud be doing voltage scaling when using
> mpurate given ur description- if u are trying to write a new cpufreq layer, why
> not fix why cpufreq doesn't work for u and help the rest of us as well ;)

Personally, I'm not opposed to supporting mpurate= (with CPUfreq
disabled) as this would also have the benefit of allowing a smaller
kernel if you really don't want DVFS.

After getting he right voltage from the OPP layer, what interface are
you planning to use to actually scale the voltage?  SR?  new voltage
layer directly?

Kevin

  parent reply	other threads:[~2010-05-28 17:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 11:25 omap3 pm: dependency between opp layer and cpufreq Premi, Sanjeev
2010-05-27 13:19 ` Premi, Sanjeev
2010-05-27 13:26   ` Premi, Sanjeev
2010-05-27 16:27 ` Nishanth Menon
2010-05-27 20:29   ` Premi, Sanjeev
2010-05-28  7:39     ` Menon, Nishanth
2010-05-28  8:56       ` Koen Kooi
2010-05-28 13:33         ` Nishanth Menon
2010-05-28 13:42           ` Premi, Sanjeev
2010-05-28 13:55             ` Nishanth Menon
2010-05-28 14:02               ` Premi, Sanjeev
     [not found]                 ` <1275065163.10319.5.camel@Nokia-N900-51-1>
2010-05-28 17:57                   ` Kevin Hilman [this message]
2010-05-30 10:58                     ` Premi, Sanjeev
2010-05-30 10:50                   ` Premi, Sanjeev
2010-05-31  4:19                     ` Nishanth Menon
2010-06-03  0:00                       ` Kevin Hilman
2010-06-04 12:34                         ` Gopinath, Thara
2010-06-08  4:15                           ` opp layer query apis (was RE: omap3 pm: dependency between opp layer and cpufreq) Menon, Nishanth
2010-06-08  4:29                             ` Gopinath, Thara
2010-06-08  4:35                               ` Menon, Nishanth

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=876327ewnz.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=eduardo.valentin@nokia.com \
    --cc=koen@dominion.thruhere.net \
    --cc=linux-omap@vger.kernel.org \
    --cc=menon.nishanth@gmail.com \
    --cc=nm@ti.com \
    --cc=premi@ti.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;
as well as URLs for NNTP newsgroup(s).