From patchwork Wed Feb 3 16:34:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Li X-Patchwork-Id: 12064755 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=-19.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 DD26EC433E9 for ; Wed, 3 Feb 2021 16:35:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F1C564F84 for ; Wed, 3 Feb 2021 16:35:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234441AbhBCQfe (ORCPT ); Wed, 3 Feb 2021 11:35:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233903AbhBCQfV (ORCPT ); Wed, 3 Feb 2021 11:35:21 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06EE6C06178C for ; Wed, 3 Feb 2021 08:34:36 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id s24so4663456pjp.5 for ; Wed, 03 Feb 2021 08:34:36 -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=VXtxZbi8AtZyMZJpc50pEvpcML6zaCXy49jNoMowkU5wXzOsZgefVdUPQHgGHCEr3B VX/+A3V9YXOgufIR6vLDsozEfwkoAZ/C1d88U1v/Wkhpp93O57e5bVOJgh4lDGnRF7W+ 6IRdn4Htmw5yyWbTH2IP++5A1kQzyq0CkCkuo= 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=AQTZvoTa4UhXDgOcND2bqsCDPha7/vSkGGMCZPSTtGxGV3VTEHWh23jwyyQzIdyQmF XOBuMs9GVeBxoqbOKn5jggntlal2hnJcqLjI93JuiWiUXT+4f9e5dsbt4gX0AfPAybEo hbahLazvCzvRlBg4klUT04kHsF5Bno9sOp1CJ9Qf4lsxIRMlvuGZ3//3QdLkCZ+vkBX6 ADD2G+HJ54qSCVgM5N9nNfgsNAh7nmmFIUgDgkwOYxTZfqKy+wvEfpS+w0ckfFV6vEVY sa2+kaqQFx7y2Wl3ZsKH6mEJ7nhFX3iCeGjxgg0NoBec5WUGVWTIKUnGVPOeYcXb+IdF I+/w== X-Gm-Message-State: AOAM530JyhTfa+WtX4HJpZC99ieflqTyury4+sS8rgtSPtkeBPy81OWU f8yDM3z6cndYc6IlUDYzOeW51A== X-Google-Smtp-Source: ABdhPJwHW/bPgjpIW8uXFOPagPYKISILCxeoo1NzldsvLxwfQdCWM66jZLnLeBPCfTIPz2JEdYXQHQ== X-Received: by 2002:a17:90b:4acd:: with SMTP id mh13mr3913378pjb.229.1612370076555; Wed, 03 Feb 2021 08:34:36 -0800 (PST) Received: from localhost (162-207-206-139.lightspeed.sntcca.sbcglobal.net. [162.207.206.139]) by smtp.gmail.com with ESMTPSA id y6sm2754285pfn.123.2021.02.03.08.34.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Feb 2021 08:34:35 -0800 (PST) From: Benjamin Li To: Georgi Djakov Cc: square@linaro.org, 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 1/2] interconnect: qcom: icc-rpm: record slave RPM id in error log Date: Wed, 3 Feb 2021 08:34:06 -0800 Message-Id: <20210203163407.9222-2-benl@squareup.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210203163407.9222-1-benl@squareup.com> References: <20210203163407.9222-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(-) 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; } }