From patchwork Tue Sep 29 17:52:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 292584 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=-12.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, 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 841C1C4727C for ; Tue, 29 Sep 2020 17:53:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 33A2B20848 for ; Tue, 29 Sep 2020 17:53:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DBlFCS79" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728113AbgI2Rxy (ORCPT ); Tue, 29 Sep 2020 13:53:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728662AbgI2Rxt (ORCPT ); Tue, 29 Sep 2020 13:53:49 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81A8CC0613D0 for ; Tue, 29 Sep 2020 10:53:49 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id q123so5332526pfb.0 for ; Tue, 29 Sep 2020 10:53:49 -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:in-reply-to:references; bh=maouQTMrsxpLVka2tVtG0rlrDbgTOcw+DDAUcgByUy4=; b=DBlFCS792aAzgH+YUwYyG64zLj2k7P2a9/rWGSqHCFFdPuF5zjQJitPgucRktCcOif J6XBhlAKlusXgUvJMiMe5tT+Zr42S5N8wqv/9fL5Caxon8ra+EW8YTyrC/SSnz5OP5z4 0FlUaB2kBe7nziZMZKosh4/TLmwFwyUIwG90Q9QnrUBxHKaRCGt+ddjYVH5cJWD0bnSN 25rS9bIn91THpyIueoNDZHu5ZE7Myc+m1yVMPwjXv7RxqqNboopoE1F8rlbhAGVY2B0d eH8DFkXwo7LanUFcdBqvs0V+UkVS2WXCWC3wf2d4Mh4Pg8DZeIOu6kQP5m5yIqvFNFMd mCsQ== 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=maouQTMrsxpLVka2tVtG0rlrDbgTOcw+DDAUcgByUy4=; b=eFYVMGW/e7vNqIq7ka73LtcRrK9h04TzYxhWGkz87Mq3HJdsmDSQAgv3D5ZDzdAFsg w/V+IkyOkhezHyoS2xeppJxbFDPk+misjwMkSBGrScS7evCy+idEwBGWx2mRlU5ItQWC amPpUe5hwKuMNTfNGkygExwwrVhfVuf4oMQt9WyUtEL0h6H9urK1NBC8u1oGrkcT8s7S WTv9A9gEblsy+OA1SsC65hm0Ii7HHwD0BIxeRO0YNme7D0B0a4TAszhCKCqOdgTYu9aK qe0oZ9MbBysDSeR4D+4V/puC4SZ9Kn3iVWc3vfZOW6CVi2O+Z9G4XWCa77Sr4CcGW2eu 5fVA== X-Gm-Message-State: AOAM533RBJAzXK2Iz/5RXeKuuIW2O90DeqYXcC9AKrMSjSESvxYMtsHH Bv4d6DjFmtvOerjN+Tt5D4pc X-Google-Smtp-Source: ABdhPJwsPcrCsb5NI3bCKFLI703acgMqVlHrSNfzGVuqStm8g6hRHp/Fl6+Ulg+C/ABAgsA2FcdGFA== X-Received: by 2002:aa7:8051:0:b029:13e:d13d:a04e with SMTP id y17-20020aa780510000b029013ed13da04emr5027675pfm.20.1601402028950; Tue, 29 Sep 2020 10:53:48 -0700 (PDT) Received: from Mani-XPS-13-9360.localdomain ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id r188sm6271046pfc.67.2020.09.29.10.53.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 10:53:48 -0700 (PDT) From: Manivannan Sadhasivam To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, Loic Poulain , Manivannan Sadhasivam Subject: [PATCH v3 19/19] bus: mhi: debugfs: Print channel context read-pointer Date: Tue, 29 Sep 2020 23:22:18 +0530 Message-Id: <20200929175218.8178-20-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200929175218.8178-1-manivannan.sadhasivam@linaro.org> References: <20200929175218.8178-1-manivannan.sadhasivam@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Loic Poulain This value was missing in the channel debugfs output. Signed-off-by: Loic Poulain Reviewed-by: Manivannan Sadhasivam Signed-off-by: Manivannan Sadhasivam --- drivers/bus/mhi/core/debugfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/bus/mhi/core/debugfs.c b/drivers/bus/mhi/core/debugfs.c index f50d73054db4..3a48801e01f4 100644 --- a/drivers/bus/mhi/core/debugfs.c +++ b/drivers/bus/mhi/core/debugfs.c @@ -115,8 +115,9 @@ static int mhi_debugfs_channels_show(struct seq_file *m, void *d) seq_printf(m, " type: 0x%x event ring: %u", chan_ctxt->chtype, chan_ctxt->erindex); - seq_printf(m, " base: 0x%llx len: 0x%llx wp: 0x%llx", - chan_ctxt->rbase, chan_ctxt->rlen, chan_ctxt->wp); + seq_printf(m, " base: 0x%llx len: 0x%llx rp: 0x%llx wp: 0x%llx", + chan_ctxt->rbase, chan_ctxt->rlen, chan_ctxt->rp, + chan_ctxt->wp); seq_printf(m, " local rp: 0x%pK local wp: 0x%pK db: 0x%pad\n", ring->rp, ring->wp,