projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc4997
)
bus: mhi: debugfs: Print channel context read-pointer
author
Loic Poulain
<loic.poulain@linaro.org>
Tue, 29 Sep 2020 17:52:18 +0000
(23:22 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 09:33:48 +0000
(11:33 +0200)
This value was missing in the channel debugfs output.
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link:
https://lore.kernel.org/r/20200929175218.8178-20-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/mhi/core/debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/bus/mhi/core/debugfs.c
b/drivers/bus/mhi/core/debugfs.c
index f50d73054db49cbf50276d8efc7d47f0718838e8..3a48801e01f4a8a3c03a572ddfdc50b3f1b92b6c 100644
(file)
--- 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,