* [PATCH] remoteproc: debug: fix va dump format in carveout list
@ 2019-06-06 15:38 Arnaud Pouliquen
2019-06-06 15:43 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Pouliquen @ 2019-06-06 15:38 UTC (permalink / raw)
To: Bjorn Andersson, Ohad Ben-Cohen
Cc: linux-remoteproc, linux-kernel, linux-arm-msm, arnaud.pouliquen
Standardize dump presentation for va, dma and da dumps by adding
"0x" prefix for virtual address.
Fixes: 276ec9934231("remoteproc: replace "%p" with "%pK"")
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
---
drivers/remoteproc/remoteproc_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c
index 6da934b8dc4b..91d3a75f0b41 100644
--- a/drivers/remoteproc/remoteproc_debugfs.c
+++ b/drivers/remoteproc/remoteproc_debugfs.c
@@ -298,7 +298,7 @@ static int rproc_carveouts_show(struct seq_file *seq, void *p)
list_for_each_entry(carveout, &rproc->carveouts, node) {
seq_puts(seq, "Carveout memory entry:\n");
seq_printf(seq, "\tName: %s\n", carveout->name);
- seq_printf(seq, "\tVirtual address: %pK\n", carveout->va);
+ seq_printf(seq, "\tVirtual address: 0x%pK\n", carveout->va);
seq_printf(seq, "\tDMA address: %pad\n", &carveout->dma);
seq_printf(seq, "\tDevice address: 0x%x\n", carveout->da);
seq_printf(seq, "\tLength: 0x%x Bytes\n\n", carveout->len);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] remoteproc: debug: fix va dump format in carveout list
2019-06-06 15:38 [PATCH] remoteproc: debug: fix va dump format in carveout list Arnaud Pouliquen
@ 2019-06-06 15:43 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2019-06-06 15:43 UTC (permalink / raw)
To: Arnaud Pouliquen
Cc: Ohad Ben-Cohen, linux-remoteproc, linux-kernel, linux-arm-msm
On Thu 06 Jun 08:38 PDT 2019, Arnaud Pouliquen wrote:
> Standardize dump presentation for va, dma and da dumps by adding
> "0x" prefix for virtual address.
>
> Fixes: 276ec9934231("remoteproc: replace "%p" with "%pK"")
>
> Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Applied
Thanks,
Bjorn
> ---
> drivers/remoteproc/remoteproc_debugfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c
> index 6da934b8dc4b..91d3a75f0b41 100644
> --- a/drivers/remoteproc/remoteproc_debugfs.c
> +++ b/drivers/remoteproc/remoteproc_debugfs.c
> @@ -298,7 +298,7 @@ static int rproc_carveouts_show(struct seq_file *seq, void *p)
> list_for_each_entry(carveout, &rproc->carveouts, node) {
> seq_puts(seq, "Carveout memory entry:\n");
> seq_printf(seq, "\tName: %s\n", carveout->name);
> - seq_printf(seq, "\tVirtual address: %pK\n", carveout->va);
> + seq_printf(seq, "\tVirtual address: 0x%pK\n", carveout->va);
> seq_printf(seq, "\tDMA address: %pad\n", &carveout->dma);
> seq_printf(seq, "\tDevice address: 0x%x\n", carveout->da);
> seq_printf(seq, "\tLength: 0x%x Bytes\n\n", carveout->len);
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-06 15:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 15:38 [PATCH] remoteproc: debug: fix va dump format in carveout list Arnaud Pouliquen
2019-06-06 15:43 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).