[PATCH v3] interconnect: qcom: qcs8300: fix the num_links for nsp icc node

Raviteja Laggyshetty posted 1 patch 2 weeks, 6 days ago
drivers/interconnect/qcom/qcs8300.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v3] interconnect: qcom: qcs8300: fix the num_links for nsp icc node
Posted by Raviteja Laggyshetty 2 weeks, 6 days ago
The qxm_nsp node is configured with an incorrect num_links value,
causing remoteproc driver to fail probing because it cannot acquire the
interconnect path for qxm_nsp -> ebi. This results in the following
error in dmesg:

  platform 26300000.remoteproc: deferred probe pending:
  qcom_q6v5_pas: failed to acquire interconnect path

Set num_links to 2 to match the two link_nodes, allowing remoteproc
clients to obtain the correct path handle and vote on qxm_nsp -> ebi.

Fixes: 874be3339c85 ("interconnect: qcom: qcs8300: convert to dynamic IDs")
Signed-off-by: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
---
Changes in v3:
- Updated the commit text to relfect the actual error and fix [Dmitry]
- Link to v2: https://lore.kernel.org/r/20260120-monaco_num_links_fix_nsp_ebi_path-v2-1-2933c1b35147@oss.qualcomm.com

Changes in v2:
- Corrected the commit ID mentioned in Fixes tag.
- Link to v1: https://lore.kernel.org/r/20260120-monaco_num_links_fix_nsp_ebi_path-v1-1-4aa2662637a3@oss.qualcomm.com
---
 drivers/interconnect/qcom/qcs8300.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/interconnect/qcom/qcs8300.c b/drivers/interconnect/qcom/qcs8300.c
index 70a377bbcf2930a4bdddcf6c3d98e95e4ad92561..bc403a9bf68c65c5e5b312505933f58c5bbeaaf7 100644
--- a/drivers/interconnect/qcom/qcs8300.c
+++ b/drivers/interconnect/qcom/qcs8300.c
@@ -629,7 +629,7 @@ static struct qcom_icc_node qxm_nsp = {
 	.name = "qxm_nsp",
 	.channels = 2,
 	.buswidth = 32,
-	.num_links = 1,
+	.num_links = 2,
 	.link_nodes = { &qns_hcp, &qns_nsp_gemnoc },
 };
 

---
base-commit: f417b7ffcbef7d76b0d8860518f50dae0e7e5eda
change-id: 20260119-monaco_num_links_fix_nsp_ebi_path-a658f8fc100f

Best regards,
-- 
Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
Re: [PATCH v3] interconnect: qcom: qcs8300: fix the num_links for nsp icc node
Posted by Dmitry Baryshkov 2 weeks, 5 days ago
On Tue, Jan 20, 2026 at 09:30:10AM +0000, Raviteja Laggyshetty wrote:
> The qxm_nsp node is configured with an incorrect num_links value,
> causing remoteproc driver to fail probing because it cannot acquire the
> interconnect path for qxm_nsp -> ebi. This results in the following
> error in dmesg:
> 
>   platform 26300000.remoteproc: deferred probe pending:
>   qcom_q6v5_pas: failed to acquire interconnect path
> 
> Set num_links to 2 to match the two link_nodes, allowing remoteproc
> clients to obtain the correct path handle and vote on qxm_nsp -> ebi.
> 
> Fixes: 874be3339c85 ("interconnect: qcom: qcs8300: convert to dynamic IDs")
> Signed-off-by: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry
Re: [PATCH v3] interconnect: qcom: qcs8300: fix the num_links for nsp icc node
Posted by Konrad Dybcio 2 weeks, 6 days ago
On 1/20/26 10:30 AM, Raviteja Laggyshetty wrote:
> The qxm_nsp node is configured with an incorrect num_links value,
> causing remoteproc driver to fail probing because it cannot acquire the
> interconnect path for qxm_nsp -> ebi. This results in the following
> error in dmesg:
> 
>   platform 26300000.remoteproc: deferred probe pending:
>   qcom_q6v5_pas: failed to acquire interconnect path
> 
> Set num_links to 2 to match the two link_nodes, allowing remoteproc
> clients to obtain the correct path handle and vote on qxm_nsp -> ebi.
> 
> Fixes: 874be3339c85 ("interconnect: qcom: qcs8300: convert to dynamic IDs")
> Signed-off-by: Raviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad