From: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Georgi Djakov <djakov@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Odelu Kukatla <quic_okukatla@quicinc.com>,
"Jeff Johnson" <jeff.johnson@oss.qualcomm.com>,
Mike Tipton <mdtipton@quicinc.com>,
Jagadeesh Kona <quic_jkona@quicinc.com>,
Sibi Sankar <quic_sibis@quicinc.com>,
<linux-arm-msm@vger.kernel.org>, <linux-pm@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH V9 2/7] interconnect: core: Add dynamic id allocation support
Date: Tue, 4 Mar 2025 11:23:04 +0530 [thread overview]
Message-ID: <114b60a4-ab67-4424-afc2-4a400d31de90@quicinc.com> (raw)
In-Reply-To: <bv73i444oh4oakgqet7brkdpmusvpf4x5nbi7kgfvykts43roj@jnc5ps2sazeb>
On 2/27/2025 9:38 PM, Dmitry Baryshkov wrote:
> On Thu, Feb 27, 2025 at 03:52:08PM +0000, Raviteja Laggyshetty wrote:
>> The current interconnect framework relies on static IDs for node
>> creation and registration, which limits topologies with multiple
>> instances of the same interconnect provider. To address this, update
>> the interconnect framework APIs icc_node_create() and icc_link_create()
>> APIs to dynamically allocate IDs for interconnect nodes during creation.
>> This change removes the dependency on static IDs, allowing multiple
>> instances of the same hardware, such as EPSS L3.
>>
>> Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
>> ---
>> drivers/interconnect/core.c | 13 ++++++++++++-
>> include/linux/interconnect.h | 3 +++
>> 2 files changed, 15 insertions(+), 1 deletion(-)
>>
>
>
>
>> diff --git a/include/linux/interconnect.h b/include/linux/interconnect.h
>> index 97ac253df62c..8b0f892aaed2 100644
>> --- a/include/linux/interconnect.h
>> +++ b/include/linux/interconnect.h
>> @@ -20,6 +20,9 @@
>> #define Mbps_to_icc(x) ((x) * 1000 / 8)
>> #define Gbps_to_icc(x) ((x) * 1000 * 1000 / 8)
>>
>> +/* macro to indicate dynamic id allocation */
>> +#define ALLOC_DYN_ID -1
>
> Nit: ICC_ALLOC_DYN_ID
>
> With that fixed,
>
Will fix it in next revision.
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
>> +
>> struct icc_path;
>> struct device;
>>
>> --
>> 2.43.0
>>
>
next prev parent reply other threads:[~2025-03-04 5:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 15:52 [PATCH V9 0/7] Add EPSS L3 provider support on SA8775P SoC Raviteja Laggyshetty
2025-02-27 15:52 ` [PATCH V9 1/7] dt-bindings: interconnect: Add EPSS L3 compatible for SA8775P Raviteja Laggyshetty
2025-02-27 15:52 ` [PATCH V9 2/7] interconnect: core: Add dynamic id allocation support Raviteja Laggyshetty
2025-02-27 16:08 ` Dmitry Baryshkov
2025-03-04 5:53 ` Raviteja Laggyshetty [this message]
2025-02-27 15:52 ` [PATCH V9 3/7] interconnect: qcom: Add multidev EPSS L3 support Raviteja Laggyshetty
2025-02-27 16:09 ` Dmitry Baryshkov
2025-02-28 0:39 ` Bjorn Andersson
2025-02-27 15:52 ` [PATCH V9 4/7] interconnect: qcom: icc-rpmh: Add dynamic icc node id support Raviteja Laggyshetty
2025-02-27 16:16 ` Dmitry Baryshkov
2025-03-10 2:24 ` Raviteja Laggyshetty
2025-03-11 19:08 ` Dmitry Baryshkov
2025-03-07 3:53 ` Mike Tipton
2025-03-10 1:58 ` Raviteja Laggyshetty
2025-02-27 15:52 ` [PATCH V9 5/7] interconnect: qcom: sa8775p: " Raviteja Laggyshetty
2025-02-27 16:23 ` Dmitry Baryshkov
2025-03-04 6:20 ` Raviteja Laggyshetty
2025-02-28 0:32 ` Bjorn Andersson
2025-02-27 15:52 ` [PATCH V9 6/7] arm64: dts: qcom: sa8775p: add EPSS l3 interconnect provider Raviteja Laggyshetty
2025-02-27 15:52 ` [PATCH V9 7/7] arm64: dts: qcom: sa8775p: Add CPU OPP tables to scale DDR/L3 Raviteja Laggyshetty
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=114b60a4-ab67-4424-afc2-4a400d31de90@quicinc.com \
--to=quic_rlaggysh@quicinc.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=jeff.johnson@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mdtipton@quicinc.com \
--cc=quic_jkona@quicinc.com \
--cc=quic_okukatla@quicinc.com \
--cc=quic_sibis@quicinc.com \
--cc=robh@kernel.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
all inboxes | Powered by JetHome®