[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1595601.YD6UTxy5Qg@amdc1976>
Date: Mon, 27 Jul 2015 12:24:30 +0200
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Thomas Abraham <thomas.ab@...sung.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Michael Turquette <mturquette@...libre.com>,
Kukjin Kim <kgene.kim@...sung.com>,
Kukjin Kim <kgene@...nel.org>,
Krzysztof Kozlowski <k.kozlowski@...sung.com>,
Tomasz Figa <tomasz.figa@...il.com>,
Lukasz Majewski <l.majewski@...sung.com>,
Heiko Stuebner <heiko@...ech.de>,
Chanwoo Choi <cw00.choi@...sung.com>,
Kevin Hilman <khilman@...aro.org>,
Javier Martinez Canillas <javier@...hile0.org>,
Tobias Jakobi <tjakobi@...h.uni-bielefeld.de>,
Anand Moon <linux.amoon@...il.com>,
linux-samsung-soc@...r.kernel.org, linux-clk@...r.kernel.org,
linux-pm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/7] cpufreq: opp: fix handling of turbo modes
Hi,
On Monday, July 27, 2015 02:05:31 PM Viresh Kumar wrote:
> $subject is a bit wrong, we aren't fixing any issue here. We are
> supporting a new feature and so it should be like:
Have you read my explanation of the issue?
With your OPP-v2 patches cpufreq-dt picks turbo frequencies and uses
them as normal ones.
(More at: http://www.spinics.net/lists/arm-kernel/msg430397.html)
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
> cpufreq: Mark boost frequencies based on OPP's turbo mode
>
> On 09-07-15, 17:43, Bartlomiej Zolnierkiewicz wrote:
> > Turbo modes should be marked with CPUFREQ_BOOST_FREQ flag in
> > the frequency table entry.
> >
> > Cc: Tomasz Figa <tomasz.figa@...il.com>
> > Cc: Michael Turquette <mturquette@...libre.com>
> > Cc: Javier Martinez Canillas <javier@...hile0.org>
> > Cc: Thomas Abraham <thomas.ab@...sung.com>
> > Cc: Viresh Kumar <viresh.kumar@...aro.org>
> > Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
> > ---
> > drivers/cpufreq/cpufreq_opp.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/cpufreq/cpufreq_opp.c b/drivers/cpufreq/cpufreq_opp.c
> > index 773bcde..f0cf502 100644
> > --- a/drivers/cpufreq/cpufreq_opp.c
> > +++ b/drivers/cpufreq/cpufreq_opp.c
> > @@ -75,6 +75,8 @@ int dev_pm_opp_init_cpufreq_table(struct device *dev,
> > }
> > freq_table[i].driver_data = i;
> > freq_table[i].frequency = rate / 1000;
> > + if (dev_pm_opp_get_turbo_mode_setting(opp) == true)
> > + freq_table[i].flags |= CPUFREQ_BOOST_FREQ;
> > }
> >
> > freq_table[i].driver_data = i;
>
> Rest look fine.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists