From patchwork Mon Aug 23 01:40:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 501533 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp1755668jab; Sun, 22 Aug 2021 18:40:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjS8QAevNGHZ4SxDhjBBNiKTUp59Yfu2BFTxkOrTPj+gFxMiVbiEKdemBuKQecyk2bs4Cx X-Received: by 2002:a92:c9cf:: with SMTP id k15mr21295212ilq.125.1629682821013; Sun, 22 Aug 2021 18:40:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629682821; cv=none; d=google.com; s=arc-20160816; b=kMDb0rVxNe4WP7eWSfyofQg2NZLiT7AoZ2XnIZlpBKWRlsl111w5roZyLC2eLk8OT7 Yulifyy8Lqd57GSfn5HU5R724gV/trU5t06UFoMm2RoJ5sU5T9oluZSLRWaGVKraTM9y +p1NX1Kvmvzd+GrKPxDE4zsmNVrX9Ax4Ml5+fQ/aZskB5XZ8MPt/1RzjrVESefdwPU/i zGnERZBCpMHr+tz5UCQydZ2SpBA3S3owVsXSIsEtYwvhCGEN/eEthAVr1NdF/0sAlFya JkwIoPYzyNMbe0us+mqKVYeJnCpRPxjjdxdg9bQtCK3L2yyqUYgO8pz1koIiQ9WALzBF V5jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=TVsv0prvF58DPZsipgb9shmcACE0nZDkP7uMb93w42E=; b=dU8G9hjBWYUO8i2hTnPyiE8ORFFyLHQa8fZPwL01Z3IER10AtAZ4ltUVhSTTk1ifUd 5aGmQqCJZ8PrWWwgtpq5HOLizHSTcnjL2c58YaiNL6EfmYUzrEuesUGMBiVT57aZYAZ3 5FPx3Ju+eMcwM2Tjxd9kUeyG58jvn7mPYgRhPHazPvJWFt0fngS10fLrMsifXoBVZvnZ XDUw3pYd1F5kNlPYfccqYsuOdA/ed4sYI7Wcwye8klCDJpXedO22NUbBKogPGgRA6WOm g8KbPEmeqLzmSznWCwzO+0sMhSQdWDxYh9ve8SZUxlJWqtt9IZFwVJNT2tb56WXPa6Ce 9rpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tjvAQXSJ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si13238216jal.55.2021.08.22.18.40.20; Sun, 22 Aug 2021 18:40:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tjvAQXSJ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233258AbhHWBlA (ORCPT + 16 others); Sun, 22 Aug 2021 21:41:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231452AbhHWBk5 (ORCPT ); Sun, 22 Aug 2021 21:40:57 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 558FFC061756 for ; Sun, 22 Aug 2021 18:40:15 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id 18so13977404pfh.9 for ; Sun, 22 Aug 2021 18:40:15 -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; bh=TVsv0prvF58DPZsipgb9shmcACE0nZDkP7uMb93w42E=; b=tjvAQXSJslHMK7/kSkiH4tKRssQ6JKnnjViVjBzAifVg9YPS+pSFPqpg17Ts1e4QP9 PgLliwLoejYy30i38OJeDHCJojnV9kaOrlDVLo5SygAafis0/LfU1XOF+TbZ/XdStYrD JZzMk9lOm4sMsLHQDCOjw2RePxDxY+lVB5uqfPmAhXnvfktS89g1x16kt6PWpWwvsmbw rko2PZh2zR18HRlB15FoyV6lUuFFvmB46tcuhbZk4XxzTkOh9/qCjy58H2R29J4a+X7O TsbayY2C3khHdjIcOQUm9H0qaNTZoncMUVmXADyViJhMoItc2XWHxld7GC5mL0Pt1Dp/ KAfg== 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; bh=TVsv0prvF58DPZsipgb9shmcACE0nZDkP7uMb93w42E=; b=Jj2htPfozVORkNsA0Oc0MI/g6aDXd3ofYcBnpLMDMdSzej1MbtCHMWgty7YNsygrZd 22SYjvtaIXAfHwShjrbtbyJRe0zpQgFmNIwzV1cQb/j7iBX2AaHKdrowgsQ/y1ENlFh3 g3Yl9fQZzvI13dFhujBGeHuhpYYg03Du1Wgsx4juHl4LBnDp9oKd97og/JuE77hi9L3X 9x2bzE5cF2g0A7KF/HmOMBtzt0RBSrvAITTrZIpzy7i1rkKMvcSm7hMU/VFjdYSlpmRS 8C4PdwDhgUC+/LACn5Wk/+i/J/3NJkdBCednZ5dFABCk/Wby7RuYBOEeaFp6OPEulTrJ PANg== X-Gm-Message-State: AOAM531qpWlbbFJc+x98SNyMrwuonR58r0yO8xvCUh7CHdsdCpUSYdmy tighZEExtazgiwLtL3C+fihHNQ== X-Received: by 2002:a62:e90b:0:b029:30e:4530:8dca with SMTP id j11-20020a62e90b0000b029030e45308dcamr31479022pfh.17.1629682814844; Sun, 22 Aug 2021 18:40:14 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id x2sm17295652pjq.35.2021.08.22.18.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 18:40:14 -0700 (PDT) From: Shawn Guo To: Georgi Djakov Cc: AngeloGioacchino Del Regno , Bjorn Andersson , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, Shawn Guo Subject: [PATCH] interconnect: qcom: sdm660: Fix id of slv_cnoc_mnoc_cfg Date: Mon, 23 Aug 2021 09:40:03 +0800 Message-Id: <20210823014003.31391-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The id of slv_cnoc_mnoc_cfg node is mistakenly coded as id of slv_blsp_1. It causes the following warning on slv_blsp_1 node adding. Correct the id of slv_cnoc_mnoc_cfg node. [ 1.948180] ------------[ cut here ]------------ [ 1.954122] WARNING: CPU: 2 PID: 7 at drivers/interconnect/core.c:962 icc_node_add+0xe4/0xf8 [ 1.958994] Modules linked in: [ 1.967399] CPU: 2 PID: 7 Comm: kworker/u16:0 Not tainted 5.14.0-rc6-next-20210818 #21 [ 1.970275] Hardware name: Xiaomi Redmi Note 7 (DT) [ 1.978169] Workqueue: events_unbound deferred_probe_work_func [ 1.982945] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1.988849] pc : icc_node_add+0xe4/0xf8 [ 1.995699] lr : qnoc_probe+0x350/0x438 [ 1.999519] sp : ffff80001008bb10 [ 2.003337] x29: ffff80001008bb10 x28: 000000000000001a x27: ffffb83ddc61ee28 [ 2.006818] x26: ffff2fe341d44080 x25: ffff2fe340f3aa80 x24: ffffb83ddc98f0e8 [ 2.013938] x23: 0000000000000024 x22: ffff2fe3408b7400 x21: 0000000000000000 [ 2.021054] x20: ffff2fe3408b7410 x19: ffff2fe341d44080 x18: 0000000000000010 [ 2.028173] x17: ffff2fe3bdd0aac0 x16: 0000000000000281 x15: ffff2fe3400f5528 [ 2.035290] x14: 000000000000013f x13: ffff2fe3400f5528 x12: 00000000ffffffea [ 2.042410] x11: ffffb83ddc9109d0 x10: ffffb83ddc8f8990 x9 : ffffb83ddc8f89e8 [ 2.049527] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001 [ 2.056645] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffb83ddc9903b0 [ 2.063764] x2 : 1a1f6fde34d45500 x1 : ffff2fe340f3a880 x0 : ffff2fe340f3a880 [ 2.070882] Call trace: [ 2.077989] icc_node_add+0xe4/0xf8 [ 2.080247] qnoc_probe+0x350/0x438 [ 2.083718] platform_probe+0x68/0xd8 [ 2.087191] really_probe+0xb8/0x300 [ 2.091011] __driver_probe_device+0x78/0xe0 [ 2.094659] driver_probe_device+0x80/0x110 [ 2.098911] __device_attach_driver+0x90/0xe0 [ 2.102818] bus_for_each_drv+0x78/0xc8 [ 2.107331] __device_attach+0xf0/0x150 [ 2.110977] device_initial_probe+0x14/0x20 [ 2.114796] bus_probe_device+0x9c/0xa8 [ 2.118963] deferred_probe_work_func+0x88/0xc0 [ 2.122784] process_one_work+0x1a4/0x338 [ 2.127296] worker_thread+0x1f8/0x420 [ 2.131464] kthread+0x150/0x160 [ 2.135107] ret_from_fork+0x10/0x20 [ 2.138495] ---[ end trace 5eea8768cb620e87 ]--- Signed-off-by: Shawn Guo --- drivers/interconnect/qcom/sdm660.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Bjorn Andersson diff --git a/drivers/interconnect/qcom/sdm660.c b/drivers/interconnect/qcom/sdm660.c index 632dbdd21915..ac13046537e8 100644 --- a/drivers/interconnect/qcom/sdm660.c +++ b/drivers/interconnect/qcom/sdm660.c @@ -307,7 +307,7 @@ DEFINE_QNODE(slv_bimc_cfg, SDM660_SLAVE_BIMC_CFG, 4, -1, 56, true, -1, 0, -1, 0) DEFINE_QNODE(slv_prng, SDM660_SLAVE_PRNG, 4, -1, 44, true, -1, 0, -1, 0); DEFINE_QNODE(slv_spdm, SDM660_SLAVE_SPDM, 4, -1, 60, true, -1, 0, -1, 0); DEFINE_QNODE(slv_qdss_cfg, SDM660_SLAVE_QDSS_CFG, 4, -1, 63, true, -1, 0, -1, 0); -DEFINE_QNODE(slv_cnoc_mnoc_cfg, SDM660_SLAVE_BLSP_1, 4, -1, 66, true, -1, 0, -1, SDM660_MASTER_CNOC_MNOC_CFG); +DEFINE_QNODE(slv_cnoc_mnoc_cfg, SDM660_SLAVE_CNOC_MNOC_CFG, 4, -1, 66, true, -1, 0, -1, SDM660_MASTER_CNOC_MNOC_CFG); DEFINE_QNODE(slv_snoc_cfg, SDM660_SLAVE_SNOC_CFG, 4, -1, 70, true, -1, 0, -1, 0); DEFINE_QNODE(slv_qm_cfg, SDM660_SLAVE_QM_CFG, 4, -1, 212, true, -1, 0, -1, 0); DEFINE_QNODE(slv_clk_ctl, SDM660_SLAVE_CLK_CTL, 4, -1, 47, true, -1, 0, -1, 0);