From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: Loic Poulain <loic.poulain@linaro.org>
Cc: hemantk@codeaurora.org, linux-arm-msm@vger.kernel.org,
bbhatt@codeaurora.org
Subject: Re: [PATCH] bus: mhi: debugfs: Print channel context read-pointer
Date: Sat, 26 Sep 2020 13:24:28 +0530 [thread overview]
Message-ID: <20200926075428.GD9302@linux> (raw)
In-Reply-To: <1600867828-26881-1-git-send-email-loic.poulain@linaro.org>
On Wed, Sep 23, 2020 at 03:30:28PM +0200, Loic Poulain wrote:
> This value was missing in the channel debugfs output.
>
> Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thanks,
Mani
> ---
> 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 53d05a8..2354c09 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%llx local wp: 0x%llx db: 0x%llx\n",
> (u64)ring->rp, (u64)ring->wp,
> --
> 2.7.4
>
next prev parent reply other threads:[~2020-09-26 7:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-23 13:30 [PATCH] bus: mhi: debugfs: Print channel context read-pointer Loic Poulain
2020-09-26 7:54 ` Manivannan Sadhasivam [this message]
2020-09-27 2:59 ` Manivannan Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200926075428.GD9302@linux \
--to=manivannan.sadhasivam@linaro.org \
--cc=bbhatt@codeaurora.org \
--cc=hemantk@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=loic.poulain@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox