Re: [PATCH V10 4/7] interconnect: qcom: icc-rpmh: Add dynamic icc node id support
From: Dmitry Baryshkov
Date: Wed Mar 26 2025 - 13:42:33 EST
On Mon, Mar 24, 2025 at 06:32:00PM +0000, Raviteja Laggyshetty wrote:
> Interconnect framework relies on static IDs for creating,
> linking and maintaning the topology. This dependency on static
> IDs prevents creating two instances of same provider. To overcome
> the dependency on static IDs, dynamic ID support is being added.
> To facilitate dynamic node ID support, the driver now uses
> node pointers for links instead of static node IDs and icc_node
> pointer is added as member in qcom_icc_node structure to track
> the node creation.
>
> Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@xxxxxxxxxxx>
> ---
> drivers/interconnect/qcom/icc-rpmh.c | 17 ++++++++++++++---
> drivers/interconnect/qcom/icc-rpmh.h | 5 +++++
> 2 files changed, 19 insertions(+), 3 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
--
With best wishes
Dmitry