* [PATCH] bus: mhi: debugfs: Print channel context read-pointer
@ 2020-09-23 13:30 Loic Poulain
2020-09-26 7:54 ` Manivannan Sadhasivam
2020-09-27 2:59 ` Manivannan Sadhasivam
0 siblings, 2 replies; 3+ messages in thread
From: Loic Poulain @ 2020-09-23 13:30 UTC (permalink / raw)
To: manivannan.sadhasivam, hemantk; +Cc: linux-arm-msm, bbhatt, Loic Poulain
This value was missing in the channel debugfs output.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] bus: mhi: debugfs: Print channel context read-pointer
2020-09-23 13:30 [PATCH] bus: mhi: debugfs: Print channel context read-pointer Loic Poulain
@ 2020-09-26 7:54 ` Manivannan Sadhasivam
2020-09-27 2:59 ` Manivannan Sadhasivam
1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2020-09-26 7:54 UTC (permalink / raw)
To: Loic Poulain; +Cc: hemantk, linux-arm-msm, bbhatt
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bus: mhi: debugfs: Print channel context read-pointer
2020-09-23 13:30 [PATCH] bus: mhi: debugfs: Print channel context read-pointer Loic Poulain
2020-09-26 7:54 ` Manivannan Sadhasivam
@ 2020-09-27 2:59 ` Manivannan Sadhasivam
1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2020-09-27 2:59 UTC (permalink / raw)
To: Loic Poulain; +Cc: hemantk, linux-arm-msm, bbhatt
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>
Applied to mhi-next!
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-27 2:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 13:30 [PATCH] bus: mhi: debugfs: Print channel context read-pointer Loic Poulain
2020-09-26 7:54 ` Manivannan Sadhasivam
2020-09-27 2:59 ` Manivannan Sadhasivam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.