From: Palmer Dabbelt <palmer@sifive.com>
To: bmeng.cn@gmail.com
Cc: qemu-riscv@nongnu.org, sagark@eecs.berkeley.edu,
Bastian Koppelmann <kbastian@mail.uni-paderborn.de>,
dgilbert@redhat.com, qemu-devel@nongnu.org,
Alistair Francis <Alistair.Francis@wdc.com>
Subject: Re: [Qemu-devel] [PATCH v4] riscv: hmp: Add a command to show virtual memory mappings
Date: Tue, 27 Aug 2019 16:18:33 -0700 (PDT) [thread overview]
Message-ID: <mhng-e6db993a-530d-4220-8345-59a8b642a5ac@palmer-si-x1e> (raw)
In-Reply-To: <CAEUhbmWacQtwTRYhCw6GwfGBabrWbe2Ss2JVCJ5XE7s3bVE-gA@mail.gmail.com>
On Sun, 18 Aug 2019 22:59:54 PDT (-0700), bmeng.cn@gmail.com wrote:
> On Wed, Aug 14, 2019 at 11:33 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>>
>> This adds 'info mem' command for RISC-V, to show virtual memory
>> mappings that aids debugging.
>>
>> Rather than showing every valid PTE, the command compacts the
>> output by merging all contiguous physical address mappings into
>> one block and only shows the merged block mapping details.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
>> Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
>>
>> ---
>>
>> Changes in v4:
>> - restore to v2, that does not print all harts's PTE, since we
>> should switch to a cpu context via the 'cpu' command
>>
>> Changes in v3:
>> - print PTEs for all harts instead of just current hart
>>
>> Changes in v2:
>> - promote ppn to hwaddr when doing page table address calculation
>>
>> hmp-commands-info.hx | 2 +-
>> target/riscv/Makefile.objs | 4 +
>> target/riscv/monitor.c | 229 +++++++++++++++++++++++++++++++++++++++++++++
>> 3 files changed, 234 insertions(+), 1 deletion(-)
>> create mode 100644 target/riscv/monitor.c
>>
>
> Ping?
>
> What's the status of this patch?
This is in my patch queue (for-master on github). I'm still a bit backed up on
email, but when I get caught back up I'll send a PR.
next prev parent reply other threads:[~2019-08-27 23:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-14 15:33 [Qemu-devel] [PATCH v4] riscv: hmp: Add a command to show virtual memory mappings Bin Meng
2019-08-19 5:59 ` Bin Meng
2019-08-27 23:18 ` Palmer Dabbelt [this message]
2019-08-28 1:31 ` Bin Meng
2019-09-03 18:46 ` Palmer Dabbelt
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=mhng-e6db993a-530d-4220-8345-59a8b642a5ac@palmer-si-x1e \
--to=palmer@sifive.com \
--cc=Alistair.Francis@wdc.com \
--cc=bmeng.cn@gmail.com \
--cc=dgilbert@redhat.com \
--cc=kbastian@mail.uni-paderborn.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=sagark@eecs.berkeley.edu \
/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;
as well as URLs for NNTP newsgroup(s).