[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190410052915.jrb67qmpwnmy4ird@vireshk-i7>
Date: Wed, 10 Apr 2019 10:59:15 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Leonard Crestez <leonard.crestez@....com>
Cc: Alexandre Bailon <abailon@...libre.com>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"georgi.djakov@...aro.org" <georgi.djakov@...aro.org>,
Aisheng Dong <aisheng.dong@....com>,
"mturquette@...libre.com" <mturquette@...libre.com>,
"ptitiano@...libre.com" <ptitiano@...libre.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Zening Wang <zening.wang@....com>,
"khilman@...libre.com" <khilman@...libre.com>,
"ccaione@...libre.com" <ccaione@...libre.com>,
Jacky Bai <ping.bai@....com>, dl-linux-imx <linux-imx@....com>,
Ranjani Vaidyanathan <ranjani.vaidyanathan@....com>,
Ulf Hansson <ulf.hansson@...aro.org>
Subject: Re: [RFC PATCH 0/3] Add support of busfreq
On 15-03-19, 17:17, Leonard Crestez wrote:
> On 3/15/19 11:31 AM, Alexandre Bailon wrote:
> >>> This series is sent as RFC mostly because the current support of i.MX SoC won't
> >>> benefit of busfreq framework, because the clocks' driver don't support
> >>> interconnect / dram frequency scaling.
> >>> As exemple, this series implements busfreq for i.MX8MM whose upstreaming
> >>> is in progress. Because this relies on ATF to do the frequency scaling, it won't
> >>> be hard make it work.
>
> >> How can I test this patch series?
> >> Any additional patches you can share with us?
> >> Or what else we need to do to test it? We can help with it.
>
> > Many other patches will be required to test the series.
> > There are a couple of patches that updates i.MX device drivers to
> > request for bandwidth (does similar thing as bus_freq_request and
> > bus_freq_release).
>
> The interconnect framework asks for bandwidth in bytes/second but in NXP
> tree most requests are of the form "request_bus_freq(BUS_FREQ_HIGH);".
> In many cases (ethernet) it doesn't seem you can calculate a specific
> bandwidth usefully.
>
> Instead of asking for "infinite bandwidth zero latency" to force
> everything to "high" it would be nicer to "request an opp".
>
> Power-domain bindings mentioned that consumer-devices can specify a
> "required-opps" property but I've found zero users in tree. Maybe some
> helpers could be written to parse that property and automatically
> request ICC opp on device suspend/resume via device-links?
Documentation/devicetree/bindings/power/qcom,rpmpd.txt is using it currently in
mainline.
> I know that stuff was written for genpd but it looks like a very good
> fit to me.
Yes, the very first user is genpd but we have designed it with an open mind and
so it shouldn't be difficult to make use of it at other places.
There is some WIP which you can look at :
- Introduce OPP bandwidth bindings
lore.kernel.org/lkml/20190313090010.20534-1-georgi.djakov@...aro.org
- DVFS in the OPP core
https://lore.kernel.org/lkml/20190320094918.20234-1-rnayak@codeaurora.org
--
viresh
Powered by blists - more mailing lists