From patchwork Fri Feb 5 01:52:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Li X-Patchwork-Id: 376874 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1796422jah; Thu, 4 Feb 2021 17:53:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2Gat3iYuBiGoJAF+WR54blPrXmc5tgK28u7wpi5Vi32y6Q125wg3eWv1sZbCisivsN6dO X-Received: by 2002:a50:d987:: with SMTP id w7mr1383945edj.356.1612490015585; Thu, 04 Feb 2021 17:53:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612490015; cv=none; d=google.com; s=arc-20160816; b=TR3Qk3i6OUgN5iZaloWeawagepBP5bRE+CPHaXqaZgiyQeQF74+s7PaQEIK6GiTyZE KcoMoRnsLmmiIhim4SV4suNqLDSOBOTLnQq5YnMtSU3Ff4p+VM3cYLCKmwQlY8V/heBq FHnNws4SLosP9g+QgVCAb5BaRGXCrGCqgpDYCm8KhmfWXrEmVB3pKZc7bbmXQ4r6OZz5 ucYWp0A/hnqrRu9XEOPWfGFzrOM5msSZg+2PgPULPB+zjJ+/QLLT9O3IUBg/Z11949Dy r4SqzmgrASVp12Bn4LTtkqnZF065l5VZwYeBCvWAkRjRCUE7YQsJ6ygRil+VcRd3kcKS Ic5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=tDdfcsBZJuJtkpBOSJDEI0wgJxTXViUcOD8MHou6QmE=; b=Ffd+Sth5/N+YndZkz/hxciMNSdssTvBDj5tUUnQcgfqLlwqvqBHyusPipKfIQN1XE9 /rf+Y+1a8z5DZ6jhVyXldRWFjyTclKD4z2f2ItboaknJo+ZcSRvVgMAQW+T+Z9TFerDz Z3CK0IRwP1iz3MW70WZDORcEKi7LDadpJkJmYR9fkm6P/RTRb8ctDJ9iNYdJ6TKkZQte 1R7dODS+UFS9y8/iGWdoLo9SzNPLc+pR9YB6vyeLKFIXqADNtGGrgQ4z7Ozpn+d+RY2Z eGLp+KjjGWrhHdMO2kfplzoSWCtLwdBDACtl4n5wiOoAU+qiCxOymQbOU9NBFLH4aSym a78A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@squareup.com header.s=google header.b=UNllgY9o; 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=REJECT sp=REJECT dis=NONE) header.from=squareup.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id uz17si4278471ejb.591.2021.02.04.17.53.31; Thu, 04 Feb 2021 17:53:35 -0800 (PST) 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=@squareup.com header.s=google header.b=UNllgY9o; 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=REJECT sp=REJECT dis=NONE) header.from=squareup.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229529AbhBEBx2 (ORCPT + 16 others); Thu, 4 Feb 2021 20:53:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229466AbhBEBxX (ORCPT ); Thu, 4 Feb 2021 20:53:23 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB22CC06178C for ; Thu, 4 Feb 2021 17:52:42 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id q20so3288090pfu.8 for ; Thu, 04 Feb 2021 17:52:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=squareup.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tDdfcsBZJuJtkpBOSJDEI0wgJxTXViUcOD8MHou6QmE=; b=UNllgY9o6Zzj174wA73LqGonWn6zXEg/nLHpYeKA/TVksgv4J/R0FtpB8pALL2N5rz p86HW3l6UuuNeoOpsKo/5uIxRxhzrCtqcI2ez9sEncG3knq3HGOGk0n67iIp5QC2QHnc KzvuXymqpnAffLPotK9GOEJiPsrrQLZ/kfyrk= 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:in-reply-to :references; bh=tDdfcsBZJuJtkpBOSJDEI0wgJxTXViUcOD8MHou6QmE=; b=EsjEP/AyhyzrZgUyx0KNwjwkwPptdqHJNWr9eIYO1+/VX6z9xjeePfjR9hMZ425WGC WhWVyu7bOGTfzX8HvkiMFUfeujDULUJXuCWL8w+WOOpxEAL/3poecTOC/xZ/hLvtMnQd 3rezXANAonI84iZLz/fJOWqySQM/mnXB7qlFl9zygPzz4DrJ1miw2A4aL9myXRvhq+sm s9Tb63EfgD5g1tC4IyXzV3jaq48UpZ9vRsoHU/C/xr7l/Myf+KSVPAMZU7NzIlQ/83OB D1mOr8JHqa7BuUCpjIoZh8m6py2MZYEFKEnphZawNAH5ttVjHepeAYRphR0Z4CI0MftW dQtw== X-Gm-Message-State: AOAM533Kt3x+SDlPGOnqbhzf16UveQd7f0166lMS9IcN8FZJqAKq53ef o/lXiRI11kMHOQopqemwnKh3FA== X-Received: by 2002:a62:6202:0:b029:1bb:a811:da59 with SMTP id w2-20020a6262020000b02901bba811da59mr1896539pfb.27.1612489962411; Thu, 04 Feb 2021 17:52:42 -0800 (PST) Received: from localhost (162-207-206-139.lightspeed.sntcca.sbcglobal.net. [162.207.206.139]) by smtp.gmail.com with ESMTPSA id a188sm7596357pfb.108.2021.02.04.17.52.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Feb 2021 17:52:41 -0800 (PST) From: Benjamin Li To: Georgi Djakov , Jun Nie Cc: kernel@squareup.com, Benjamin Li , Andy Gross , Bjorn Andersson , Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] interconnect: qcom: icc-rpm: record slave RPM id in error log Date: Thu, 4 Feb 2021 17:52:04 -0800 Message-Id: <20210205015205.22947-2-benl@squareup.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210205015205.22947-1-benl@squareup.com> References: <20210205015205.22947-1-benl@squareup.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add slave RPM ID to assist with identifying incorrect RPM config. Signed-off-by: Benjamin Li --- drivers/interconnect/qcom/icc-rpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c index cc6095492cbe..54de49ca7808 100644 --- a/drivers/interconnect/qcom/icc-rpm.c +++ b/drivers/interconnect/qcom/icc-rpm.c @@ -59,8 +59,8 @@ static int qcom_icc_set(struct icc_node *src, struct icc_node *dst) qn->slv_rpm_id, sum_bw); if (ret) { - pr_err("qcom_icc_rpm_smd_send slv error %d\n", - ret); + pr_err("qcom_icc_rpm_smd_send slv %d error %d\n", + qn->slv_rpm_id, ret); return ret; } }