monitor: Refine 'info tlb' command
Get series with b4
b4 am [email protected]Versions newest first
- v4 Latest1 patch 1 replyIn review
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | monitor: Refine 'info tlb' commandhmp-commands-info.hx target/ target/ +8 more | +206 | 1 reply |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by.
| Patch | Dr. David Alan Gilbert | Marc-André Lureau |
|---|---|---|
| 1/1 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/1] monitor: Refine 'info tlb' command
(Resending this patch to qemu-devel as the previous two attempts received the following error:
rcpt handle timeout,last handle info:
Host nongnu.org(209.51.188.92) command RCPT TO respond timeout or disconnected.
This time I am trying with my gmail account. Apologies if you receive this more than once.)
======
When booting an i386 target, the 'info tlb' command may walk the entire page table hierarchy and emit an enormous amount of output. It will take dozens of minutes to print all the info.
And the same situation also occurred on sparc32 and m68k targets.
So this change do the following:
1) Add a address range argument to help user control the number of output items.
2) Add warning note in help message that such address range argument only supported on target i386, sparc32 and m68k.
3) Print ignore warning when user add such address range argument on other targets (sh4, sparc64, ppc and xtensa). Those targets only print limited tlb info.
V3: https://lore.kernel.org/qemu-devel/[email protected]/
V2: https://lore.kernel.org/qemu-devel/[email protected]/
V1: https://lore.kernel.org/qemu-devel/[email protected]/
Alano Song (1):
monitor: Refine 'info tlb' command
hmp-commands-info.hx | 17 ++++++-- target/i386/monitor.c | 92 ++++++++++++++++++++++++++++----------- target/m68k/cpu.h | 2 +- target/m68k/helper.c | 55 +++++++++++++++-------- target/m68k/monitor.c | 15 ++++++- target/ppc/monitor.c | 6 +++ target/sh4/monitor.c | 5 +++ target/sparc/cpu.h | 3 ++ target/sparc/mmu_helper.c | 40 +++++++++++++---- target/sparc/monitor.c | 23 ++++++++++ target/xtensa/monitor.c | 6 +++ 11 files changed, 206 insertions(+), 58 deletions(-)
Signature · 1 line
2.43.0