Linux Power Management development
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: "Zengtao (B)" <prime.zeng@hisilicon.com>
Cc: "rjw@rjwysocki.net" <rjw@rjwysocki.net>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Subject: Re: cpufreq_resume warning issue
Date: Tue, 22 Mar 2016 16:02:04 +0530	[thread overview]
Message-ID: <20160322103204.GG5272@vireshk-i7> (raw)
In-Reply-To: <678F3D1BB717D949B966B68EAEB446ED0A6D9D5A@SZXEMA509-MBX.china.huawei.com>

On 22-03-16, 09:58, Zengtao (B) wrote:
> Yes, but we are just cheating the kernel by doing so, the cpu frequency governor of CPU0 is fixed 
> even it has got the tunable interface to users. 

You are mixing policy and features here..

Feature wise, your platform has the capability of supporting dynamic-frequency
scaling for CPU0 (A7), but as a policy you don't see much advantage of doing
that today.

But things will change, and perhaps your customers would want to do things
differently to save small amounts of powers lately. They would be required to go
through the code then to make that happen.

That's why I said, Keep the feature in place and support dynamic-frequency
switching for CPU0 as well (Its not gonna consume much of your time, I am quite
sure), and let people deal with policy. They can choose performance/powersave or
ondemand later on. They would be required to touch few sysfs file only then.

Changing core for this would mean, that we go through each and every line of
cpufreq-core again, as its an assumption we always had. Its not impossible and
may be required to be done in future, but it has to be worth the effort.

In this case, you are trying to avoid a small amount of effort, as you don't see
much value in terms of saving power.

But believe me, its a new platform and things will change. All current platforms
that are supporting DVFS for A7s aren't idiots :)

-- 
viresh

      reply	other threads:[~2016-03-22 10:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-21  3:43 cpufreq_resume warning issue Zengtao (B)
2016-03-21  7:32 ` Viresh Kumar
2016-03-21  8:05   ` Zengtao (B)
2016-03-21  8:34     ` Viresh Kumar
2016-03-21  9:07       ` Zengtao (B)
2016-03-21  9:09         ` Viresh Kumar
2016-03-21  9:26           ` Zengtao (B)
2016-03-21  9:44             ` Viresh Kumar
2016-03-22  9:58               ` Zengtao (B)
2016-03-22 10:32                 ` Viresh Kumar [this message]

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=20160322103204.GG5272@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=prime.zeng@hisilicon.com \
    --cc=rjw@rjwysocki.net \
    /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