From patchwork Wed Nov 18 11:10:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 11914813 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F100B1398 for ; Wed, 18 Nov 2020 11:11:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE5EB22228 for ; Wed, 18 Nov 2020 11:11:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TGKY7RuG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726571AbgKRLKr (ORCPT ); Wed, 18 Nov 2020 06:10:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726156AbgKRLKr (ORCPT ); Wed, 18 Nov 2020 06:10:47 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 335B6C0613D6 for ; Wed, 18 Nov 2020 03:10:47 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id o15so1785139wru.6 for ; Wed, 18 Nov 2020 03:10:47 -0800 (PST) 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=TM4xeCFqhqNPAzGhqi5+938j8jku7K9Wdryn7CNC1ME=; b=TGKY7RuGO77gVB241XAL+NVsGYh6cpT3uiYRDighw58NflqbuQwh4EgaEI1KNxQw4u AVZDvR2dW4sSylM2M3u6W8H6J9UUYMSOLQDgh6KDFVC6WMK3Ca2u10xzRHcX5uJcuLoK 3UW/d1KZDCiXpUiBeIBvYHc2ytxZz36QrLFVTj8scTWc6QTc1mHzudSjX5eZBUFh0WRd sh43ebAsXf4lHZKAvX5hUPqPxkOzQHRdtJZ9oZl0Ih/RgtR7Q7ItPfnt2NevujJLlheD HaqWSPHZZ05bI/Ikq49gWx7R9daA/ZPBc4FxhZM1a3m6DfSFcRhCCjvYx4dvHRHSdAfm grEg== 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=TM4xeCFqhqNPAzGhqi5+938j8jku7K9Wdryn7CNC1ME=; b=OfTX3vkCX9hLOsomBRiJlVUM7ORYmoFdzpgiZzEmNpBJYzH0UYj4nyhloDmThhwCSM 9z13CJJ/sn4iN+atGApmIxGRga2VcsFqngieGm2h/KeIuWNRahUjtrYK9u1Zb126NsRe RZ2wb16ZnIfujTpvfGxbUa3eJBjDbllvuX0mbmosuHdBN1CLi1/uiaWy9TauKXExBcb4 UQEHFzVcprFSXncm7pyl8LBWMmhKS1cdbAgHKt7vXUk5JKnek2BNnOf9rm2kuhUtUTaL MSJE94Z7XZJvktYP/00SPGxKFPSew8NuDmo3LWWJBT7qjrW3SqsyC3uVDESB/GCntqEv ZdgA== X-Gm-Message-State: AOAM532EiWUF6uGxkn6m2VBysqnVP+qp/cd7jVD2QH8eW/KZ02PvgGQF czjtyRtoCJfFrxIll0vw5smkAdjo/CnnWw== X-Google-Smtp-Source: ABdhPJxKcSpP5PNEgdsLExRl9hVOtWk9A08Woie5Y8ZNqZYsH2v8ah7p0jFQnFfCdZxkJt8he/I4dA== X-Received: by 2002:a5d:4802:: with SMTP id l2mr4149899wrq.424.1605697845849; Wed, 18 Nov 2020 03:10:45 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id y203sm3649174wmg.9.2020.11.18.03.10.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Nov 2020 03:10:45 -0800 (PST) From: Georgi Djakov To: mdtipton@codeaurora.org, bjorn.andersson@linaro.org, linux-pm@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v2] interconnect: qcom: qcs404: Remove GPU and display RPM IDs Date: Wed, 18 Nov 2020 13:10:44 +0200 Message-Id: <20201118111044.26056-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 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. Signed-off-by: Georgi Djakov Reviewed-by: Mike Tipton Reviewed-by: Bjorn Andersson --- v2: * Keep the nodes and just set the IDs to -1, as suggested by Mike. v1: http://lore.kernel.org/r/20201111100734.307-1-georgi.djakov@linaro.org drivers/interconnect/qcom/qcs404.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/interconnect/qcom/qcs404.c b/drivers/interconnect/qcom/qcs404.c index d4769a5ea182..9820709b43db 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);