From patchwork Mon Dec 14 17:27:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 343565 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3195613jai; Mon, 14 Dec 2020 09:35:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwX8L5w2oa92Ee8nTLEv1oKEZq8hw/qxA7lcr5jAG2W4N7ujGjfIMAqUnnvx7bDSu3ikRtY X-Received: by 2002:a17:907:1010:: with SMTP id ox16mr23743234ejb.439.1607967329571; Mon, 14 Dec 2020 09:35:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607967329; cv=none; d=google.com; s=arc-20160816; b=Yxg+cwFjREU/j2YZwCH4ZXle1jyRqnR8J13Ixvgis6ZAnmTu9sWOnAGUYgQ9uRBg01 xzOUdsq9sG6uPUUVBHlGKO70ZYIp7RKRZeyKVc+yYmLsznF2RMXSuodCfGV1htLJ3TAZ eJKnbae3VXSSKaNOUSNf9EE5hoiAOo4FAFbBaBxRCApqCal4jK2bDtbrbX9cwNehbuUc TiTQexpigT81GDWUjYzg/f8R/p92pAAP9xWXsGexe4frwzBQvugtUcEuFS1QjJFO4y6S UkGxxU4uWyrUB20N1WLq6ReaXQndA+Imjje67PwRx3Wb8pdT5cKJ2PREpjVgS2blD1rL b0/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=QwP7SvODJeBTNuUTf/HRvGU79h0a9blvpzX4ZbOj6sQ=; b=KNUCV6PAs9tJMhXeFd9B1XeYbGj5RcFGufxXLQvRTaQ7qAR+i6LB0fxtjgZCYY4hzn C3B5bNmFaqN7dmtTXep3UJCWlr63I12OeGGvYb26nwbJBrwaGcybTdvZjOoeemtS+bI8 +7+hmSP4cmTmQcfsy/RoI0uqAff5uLoxcICROx1fJd5hGBuR0/DmeQwctzT6d0zRtX25 xxqmp5h0xoCa0hfXiST3H8OVnS55KY/KBYV72MRz6sZLzl+NwngM1ClWxDsknI5Ii+yw N1YMFdaK/yMc19NDL4Nu1bWn0EUW3LUVJ0Sro/+NTfUB6UT7RtHjKvJpLaSNKutwTBKC +MBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k18si11040180eds.42.2020.12.14.09.35.29; Mon, 14 Dec 2020 09:35:29 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407310AbgLNRdm (ORCPT + 14 others); Mon, 14 Dec 2020 12:33:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:40802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440413AbgLNR2G (ORCPT ); Mon, 14 Dec 2020 12:28:06 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mike Tipton , Bjorn Andersson , Georgi Djakov , Sasha Levin Subject: [PATCH 5.4 11/36] interconnect: qcom: qcs404: Remove GPU and display RPM IDs Date: Mon, 14 Dec 2020 18:27:55 +0100 Message-Id: <20201214172543.868020617@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201214172543.302523401@linuxfoundation.org> References: <20201214172543.302523401@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Georgi Djakov [ Upstream commit 7ab1e9117607485df977bb6e271be5c5ad649a4c ] The following errors are noticed during boot on a QCS404 board: [ 2.926647] qcom_icc_rpm_smd_send mas 6 error -6 [ 2.934573] qcom_icc_rpm_smd_send mas 8 error -6 These errors show when we try to configure the GPU and display nodes. Since these particular nodes aren't supported on RPM and are purely local, we should just change their mas_rpm_id to -1 to avoid any requests being sent for these master IDs. Reviewed-by: Mike Tipton Reviewed-by: Bjorn Andersson Link: https://lore.kernel.org/r/20201118111044.26056-1-georgi.djakov@linaro.org Signed-off-by: Georgi Djakov Signed-off-by: Sasha Levin --- drivers/interconnect/qcom/qcs404.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 diff --git a/drivers/interconnect/qcom/qcs404.c b/drivers/interconnect/qcom/qcs404.c index 8e0735a870400..3a3ce6ea65ff2 100644 --- a/drivers/interconnect/qcom/qcs404.c +++ b/drivers/interconnect/qcom/qcs404.c @@ -157,8 +157,8 @@ struct qcom_icc_desc { } DEFINE_QNODE(mas_apps_proc, QCS404_MASTER_AMPSS_M0, 8, 0, -1, QCS404_SLAVE_EBI_CH0, QCS404_BIMC_SNOC_SLV); -DEFINE_QNODE(mas_oxili, QCS404_MASTER_GRAPHICS_3D, 8, 6, -1, QCS404_SLAVE_EBI_CH0, QCS404_BIMC_SNOC_SLV); -DEFINE_QNODE(mas_mdp, QCS404_MASTER_MDP_PORT0, 8, 8, -1, QCS404_SLAVE_EBI_CH0, QCS404_BIMC_SNOC_SLV); +DEFINE_QNODE(mas_oxili, QCS404_MASTER_GRAPHICS_3D, 8, -1, -1, QCS404_SLAVE_EBI_CH0, QCS404_BIMC_SNOC_SLV); +DEFINE_QNODE(mas_mdp, QCS404_MASTER_MDP_PORT0, 8, -1, -1, QCS404_SLAVE_EBI_CH0, QCS404_BIMC_SNOC_SLV); DEFINE_QNODE(mas_snoc_bimc_1, QCS404_SNOC_BIMC_1_MAS, 8, 76, -1, QCS404_SLAVE_EBI_CH0); DEFINE_QNODE(mas_tcu_0, QCS404_MASTER_TCU_0, 8, -1, -1, QCS404_SLAVE_EBI_CH0, QCS404_BIMC_SNOC_SLV); DEFINE_QNODE(mas_spdm, QCS404_MASTER_SPDM, 4, -1, -1, QCS404_PNOC_INT_3);