From patchwork Thu Apr 1 09:44:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 413727 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ACD2C433B4 for ; Thu, 1 Apr 2021 09:45:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E35F60238 for ; Thu, 1 Apr 2021 09:45:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233947AbhDAJpG (ORCPT ); Thu, 1 Apr 2021 05:45:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233938AbhDAJoh (ORCPT ); Thu, 1 Apr 2021 05:44:37 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71267C061788 for ; Thu, 1 Apr 2021 02:44:37 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id n11-20020a05600c4f8bb029010e5cf86347so3562249wmq.1 for ; Thu, 01 Apr 2021 02:44:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XtEhDbltiZ/OfVBpz9Jx7SA1IxogX1Jkk6XPFN266w4=; b=VuepqFNDknWsdsL8lo/vf2lSR512hGTBYSdoU5t0A6DSJvyG4Pw9msoJZXW/2LyoEL NAElHsNx+E9N5RoRn9IRDxcsrKMsPkNV0KhxPf4/TnOs0sxZJtr6IF5p97Kn9XlaND6o XVm7znnNS3WaRY51FkU6YcNU18O9UjcOLwBzYmVQPDeug6bZp8sjEWRC1h9WnJ7AFJu8 ZxThnyLYAa9R6OoGlWwoThnrpOhBJtz5CeW+K28Wzr1jHzBxLFef0bq4/SH0RN2GgB1i BucXYCruIkt5PHe3U0rZnyCvi7AXWcrz3U5LuQ2GplCYhTZHY3cRVn4IAADiLXrQHPdg L45w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XtEhDbltiZ/OfVBpz9Jx7SA1IxogX1Jkk6XPFN266w4=; b=E6nhyjLb56f1KoRHEG3h3pQz8kqa1nR94JCohXhlzR9KD96c4epYWOoeGqFTHrBDsq eX4L6D03XIVXPKD8pdscPFilzQm8wzJNG905UrJDHyFiVCGTXSEOh8dk0n/33uKo3kUw L0Ei9am2j2P+XnDMyR6r3XPzK4fcj/fu7YUhU6w8VF8vm92/vU/6JUDwhLyoGq4otvsv WosqtSBCjTBV36XwPdOC1+lmwCDxWsFcGlvPNABtJSBx474tF1hbPc9dPh2s+baDJinL ZFyxd0/F9uspPLjH1jcArg6MvkQGDQls9WKi4vYfxgNQiz9pDK8t7HjMWuRiHQThyvGS NNfg== X-Gm-Message-State: AOAM532ihWKAH1hl3dLbfVGYa5j1G+PXx1y0ho46SP+kRCxXiM7ZIaeW a2MwueuZo9cayJRx6pGL21xPLg== X-Google-Smtp-Source: ABdhPJwgCKB8DBoGW8iKnUqTZqgN7lbQehMMzlrJKID29AbwEiVBBJiDJ9zDGQbAacz404TXesZ3tQ== X-Received: by 2002:a1c:b002:: with SMTP id z2mr7191659wme.121.1617270276227; Thu, 01 Apr 2021 02:44:36 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id u4sm8921234wrm.24.2021.04.01.02.44.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Apr 2021 02:44:35 -0700 (PDT) From: Georgi Djakov To: djakov@kernel.org, vkoul@kernel.org, elder@linaro.org Cc: bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH] interconnect: qcom: sm8350: Add missing link between nodes Date: Thu, 1 Apr 2021 12:44:35 +0300 Message-Id: <20210401094435.28937-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org There is a link between the GEM NoC and C NoC nodes, which is currently missing from the topology. Let's add it to allow consumers request paths that use this link. Reported-by: Alex Elder Signed-off-by: Georgi Djakov Tested-by: Alex Elder --- drivers/interconnect/qcom/sm8350.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/interconnect/qcom/sm8350.c b/drivers/interconnect/qcom/sm8350.c index 01202989a5b2..579b6ce8e046 100644 --- a/drivers/interconnect/qcom/sm8350.c +++ b/drivers/interconnect/qcom/sm8350.c @@ -139,7 +139,7 @@ DEFINE_QNODE(qhs_llcc, SM8350_SLAVE_LLCC_CFG, 1, 4); DEFINE_QNODE(qns_gemnoc, SM8350_SLAVE_GEM_NOC_CFG, 1, 4); DEFINE_QNODE(qhs_mdsp_ms_mpu_cfg, SM8350_SLAVE_MSS_PROC_MS_MPU_CFG, 1, 4); DEFINE_QNODE(qhs_modem_ms_mpu_cfg, SM8350_SLAVE_MCDMA_MS_MPU_CFG, 1, 4); -DEFINE_QNODE(qns_gem_noc_cnoc, SM8350_SLAVE_GEM_NOC_CNOC, 1, 16); +DEFINE_QNODE(qns_gem_noc_cnoc, SM8350_SLAVE_GEM_NOC_CNOC, 1, 16, SM8350_MASTER_GEM_NOC_CNOC); DEFINE_QNODE(qns_llcc, SM8350_SLAVE_LLCC, 4, 16, SM8350_MASTER_LLCC); DEFINE_QNODE(qns_pcie, SM8350_SLAVE_MEM_NOC_PCIE_SNOC, 1, 8); DEFINE_QNODE(srvc_even_gemnoc, SM8350_SLAVE_SERVICE_GEM_NOC_1, 1, 4);