]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
interconnect: qcom: qcs8300: fix the num_links for nsp icc node
authorRaviteja Laggyshetty <raviteja.laggyshetty@oss.qualcomm.com>
Tue, 20 Jan 2026 09:30:10 +0000 (09:30 +0000)
committerGeorgi Djakov <djakov@kernel.org>
Wed, 21 Jan 2026 09:46:05 +0000 (11:46 +0200)
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>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260120-monaco_num_links_fix_nsp_ebi_path-v3-1-536be21ce3ff@oss.qualcomm.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/qcs8300.c

index 70a377bbcf2930a4bdddcf6c3d98e95e4ad92561..bc403a9bf68c65c5e5b312505933f58c5bbeaaf7 100644 (file)
@@ -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 },
 };