public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Rafael Wysocki <rjw@rjwysocki.net>,
	linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org,
	nm@ti.com, sboyd@codeaurora.org
Subject: Re: [PATCH 0/4] cpufreq/opp: Turbo/boost mode support
Date: Tue, 28 Jul 2015 13:55:41 +0200	[thread overview]
Message-ID: <2445844.9YDNy0YEZL@amdc1976> (raw)
In-Reply-To: <cover.1438081962.git.viresh.kumar@linaro.org>


Hi,

On Tuesday, July 28, 2015 04:49:59 PM Viresh Kumar wrote:
> Hi Rafael,
> 
> This is based of my opp-v2 series and so is sent as reply to that one.
> 
> Bartlomiej had few patches that he wanted to get into 4.3. I have picked
> two of those and dropped one (the one that adds another field to
> platform data). The dropped one is replaced with two patches from me.
> There are minor modifications done in first two patches, based on the
> review comments I gave to him earlier.

Thanks for working on this.

> Completely Untested.
> 
> @Bartlomiej: Can you please give them some testing ?

Could you please tell me first how do you want me to fix the issue
with setting boost_supported flag in cpufreq driver structure?

For exynos-cpufreq driver we currently have:

#ifdef CONFIG_ARM_EXYNOS_CPU_FREQ_BOOST_SW
	.boost_supported = true,
#endif

With my original patches the config option stayed the same and
the flag was enabled if necessary in Exynos platform code and
passed through platform data to cpufreq-dt driver.  This is no
longer possible with your changes.

Should I enable it unconditionally in cpufreq-dt driver or add new
config option for cpufreq-dt driver (CONFIG_CPUFREQ_DT_BOOST_SW?)
for enabling boost_supported flag if necessary?

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

> Bartlomiej Zolnierkiewicz (2):
>   opp: add dev_pm_opp_is_turbo() helper
>   cpufreq: Update boost flag while initializing freq table from OPPs
> 
> Viresh Kumar (2):
>   cpufreq: Allow drivers to enable boost support after registering
>     driver
>   cpufreq: dt: Add support for turbo/boost mode
> 
>  drivers/base/power/opp.c      | 30 ++++++++++++++++++++
>  drivers/cpufreq/cpufreq-dt.c  |  8 ++++++
>  drivers/cpufreq/cpufreq.c     | 66 ++++++++++++++++++++++++++++++-------------
>  drivers/cpufreq/cpufreq_opp.c |  4 +++
>  drivers/cpufreq/freq_table.c  | 15 ++++++++++
>  include/linux/cpufreq.h       | 12 ++++++++
>  include/linux/pm_opp.h        |  7 +++++
>  7 files changed, 122 insertions(+), 20 deletions(-)


  parent reply	other threads:[~2015-07-28 11:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-28 11:19 [PATCH 0/4] cpufreq/opp: Turbo/boost mode support Viresh Kumar
2015-07-28 11:20 ` [PATCH 1/4] opp: add dev_pm_opp_is_turbo() helper Viresh Kumar
2015-07-28 14:27   ` Pavel Machek
2015-07-29 10:24     ` Viresh Kumar
2015-07-29 10:53       ` Pavel Machek
2015-07-29 10:56         ` Viresh Kumar
2015-07-28 11:20 ` [PATCH 2/4] cpufreq: Update boost flag while initializing freq table from OPPs Viresh Kumar
2015-07-28 11:20 ` [PATCH 3/4] cpufreq: Allow drivers to enable boost support after registering driver Viresh Kumar
2015-07-28 13:48   ` Viresh Kumar
2015-07-28 11:20 ` [PATCH 4/4] cpufreq: dt: Add support for turbo/boost mode Viresh Kumar
2015-07-28 11:22 ` [PATCH 0/4] cpufreq/opp: Turbo/boost mode support Viresh Kumar
2015-07-28 11:55 ` Bartlomiej Zolnierkiewicz [this message]
2015-07-28 12:18   ` Viresh Kumar
2015-07-28 13:38     ` Bartlomiej Zolnierkiewicz
2015-07-28 13:47       ` Viresh Kumar

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=2445844.9YDNy0YEZL@amdc1976 \
    --to=b.zolnierkie@samsung.com \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=rjw@rjwysocki.net \
    --cc=sboyd@codeaurora.org \
    --cc=viresh.kumar@linaro.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