[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEG3pNAbf3hLchrYK+s9RwZ3zF3srkqdbvqPSBMOoGV65TguLQ@mail.gmail.com>
Date: Sun, 22 Oct 2017 19:58:30 -0700
From: Michael Turquette <mturquette@...libre.com>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: Georgi Djakov <georgi.djakov@...aro.org>,
Linux PM list <linux-pm@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Rob Herring <robh+dt@...nel.org>,
Kevin Hilman <khilman@...libre.com>,
Vincent Guittot <vincent.guittot@...aro.org>,
Saravana Kannan <skannan@...eaurora.org>,
Stephen Boyd <sboyd@...eaurora.org>,
Andy Gross <andy.gross@...aro.org>,
"Sweeney, Sean" <seansw@....qualcomm.com>,
"Dai, David" <davidai@...cinc.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Stephen Boyd <sboyd@...eaurora.org>, Emilio Lopez
<emilio@...pez.com.ar>, Hans de Goede <hdegoede@...hat.com>, linux-clk
<linux-clk@...r.kernel.org>, linux-arm-kernel"
<linux-arm-kernel@...ts.infradead.org>,
linux-arm-msm@...r.kernel.org, Mark Rutland <mark.rutland@....com>,
lorenzo.pieralisi@....com
Subject: Re: [PATCH v3 1/3] interconnect: Add generic on-chip interconnect API
Hi all,
On Fri, Oct 20, 2017 at 3:34 PM, Bjorn Andersson
<bjorn.andersson@...aro.org> wrote:
> On Fri 20 Oct 07:43 PDT 2017, Georgi Djakov wrote:
>
>> Hi,
>>
>> On 09/08/2017 08:18 PM, Georgi Djakov wrote:
>> > This patch introduce a new API to get requirements and configure the
>> > interconnect buses across the entire chipset to fit with the current demand.
>> >
>> > The API is using a consumer/provider-based model, where the providers are
>> > the interconnect buses and the consumers could be various drivers.
>> > The consumers request interconnect resources (path) between endpoints and
>> > set the desired constraints on this data flow path. The providers receive
>> > requests from consumers and aggregate these requests for all master-slave
>> > pairs on that path. Then the providers configure each participating in the
>> > topology node according to the requested data flow path, physical links and
>> > constraints. The topology could be complicated and multi-tiered and is SoC
>> > specific.
>> >
>> > Signed-off-by: Georgi Djakov <georgi.djakov@...aro.org>
>> > ---
>> > Documentation/interconnect/interconnect.rst | 93 +++++++
>> > drivers/Kconfig | 2 +
>> > drivers/Makefile | 1 +
>> > drivers/interconnect/Kconfig | 10 +
>> > drivers/interconnect/Makefile | 1 +
>> > drivers/interconnect/interconnect.c | 382 ++++++++++++++++++++++++++++
>> > include/linux/interconnect-consumer.h | 73 ++++++
>> > include/linux/interconnect-provider.h | 119 +++++++++
>> > 8 files changed, 681 insertions(+)
>> > create mode 100644 Documentation/interconnect/interconnect.rst
>> > create mode 100644 drivers/interconnect/Kconfig
>> > create mode 100644 drivers/interconnect/Makefile
>> > create mode 100644 drivers/interconnect/interconnect.c
>> > create mode 100644 include/linux/interconnect-consumer.h
>> > create mode 100644 include/linux/interconnect-provider.h
>>
>> Any comments on this patch?
>>
>
> Sorry, I still haven't found the time to do a proper review of this yet.
Same.
>
>> I am planning to change the prefix that is used for naming for example
>> the functions from "interconnect_" to something shorter like icbus_.
>>
>
> This isn't implementing a bus; if you feel that just ic_ is too short I
> would suggest naming things inter_. (But keep the full name in the file
> names)
Not trying to bikeshed too much, but how about icc_ for "interconnect
controller"? No idea if that is a hash collision with other in-kernel
apis.
Just "ic_" looks to me like "integrated circuit".
Regards,
Mike
>
> Regards,
> Bjorn
Powered by blists - more mailing lists