Message ID | 1600867828-26881-1-git-send-email-loic.poulain@linaro.org |
---|---|
State | Accepted |
Commit | 9e8c8cc44f35bb4c55f22661702022c92ea796d7 |
Headers | show |
Series | bus: mhi: debugfs: Print channel context read-pointer | expand |
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 >
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 >
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,
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(-)