system/memory: Improve 'info mtree' readability
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | stubs: Merge physmem.c within ram-block.cstubs/ stubs/ stubs/ | +11 | 8 replies | |
| 2/7 | system/ramblock: Constify various RAMBlock argumentsinclude/ stubs/ system/ | +30 | 2 replies | |
| 3/7 | system/memory: Constify various MemoryRegion argumentsinclude/ system/ | +32 | 2 replies | |
| 4/7 | system/memory: Have memory_region_type() correctly describe containerssystem/ | +2 | 2 replies | |
| 5/7 | system/memory: Display address spaces starting at 0x0000.0000system/ | +7 | 2 replies | |
| 6/7 | system/memory: Allow mtree_print_mr() to display distinct address widthsystem/ | +27 | 2 replies | |
| 7/7 | system/memory: Have 'info mtree' display addresses nicelysystem/ | +23 | 6 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Pierrick Bouvier | Peter Xu |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | R-b |
| 3/7 | R-b | R-b |
| 4/7 | R-b | R-b |
| 5/7 | R-b | |
| 6/7 | R-b | R-b |
| 7/7 | 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 0/7] system/memory: Improve 'info mtree' readability
Cleaning dust, I had forgotten about this branch. In short, it improves 'info mtree' readability of addresses.
Currently with Q35:
address-space: I/O
0000000000000000-000000000000ffff (prio 0, i/o): io
0000000000000000-0000000000000003 (prio 0, i/o): acpi-evt
0000000000000004-0000000000000005 (prio 0, i/o): acpi-cnt
0000000000000008-000000000000000b (prio 0, i/o): acpi-tmr
0000000000000020-000000000000002f (prio 0, i/o): acpi-gpe0
0000000000000030-0000000000000037 (prio 0, i/o): acpi-smi
0000000000000060-000000000000007f (prio 0, i/o): sm-tco
0000000000000000-0000000000000007 (prio 0, i/o): dma-chan
0000000000000008-000000000000000f (prio 0, i/o): dma-cont
0000000000000020-0000000000000021 (prio 0, i/o): pic
0000000000000040-0000000000000043 (prio 0, i/o): pit
...
memory-region: pc.ram
0000000000000000-0000000007ffffff (prio 0, ram): pc.ram
memory-region: pc.bios
00000000fffc0000-00000000ffffffff (prio 0, rom): pc.bios
memory-region: pci
0000000000000000-ffffffffffffffff (prio -1, i/o): pci
00000000000a0000-00000000000bffff (prio 1, i/o): vga-lowmem
00000000000c0000-00000000000dffff (prio 1, rom): pc.rom
00000000000e0000-00000000000fffff (prio 1, rom): alias isa-bios @pc.bios 0000000000020000-000000000003ffff
00000000fffc0000-00000000ffffffff (prio 0, rom): pc.bios
...With this series:
address-space: I/O
0000-ffff (prio 0, container): io
0000-0003 (prio 0, i/o): acpi-evt
0004-0005 (prio 0, i/o): acpi-cnt
0008-000b (prio 0, i/o): acpi-tmr
0020-002f (prio 0, i/o): acpi-gpe0
0030-0037 (prio 0, i/o): acpi-smi
0060-007f (prio 0, i/o): sm-tco
0000-0007 (prio 0, i/o): dma-chan
0008-000f (prio 0, i/o): dma-cont
0020-0021 (prio 0, i/o): pic
0040-0043 (prio 0, i/o): pit
...
memory-region: pc.ram
00000000-07ffffff (prio 0, ram): pc.ram
memory-region: pc.bios
fffc0000-ffffffff (prio 0, rom): pc.bios
memory-region: pci
0000000000000000-ffffffffffffffff (prio -1, i/o): pci
00000000000a0000-00000000000bffff (prio 1, i/o): vga-lowmem
00000000000c0000-00000000000dffff (prio 1, rom): pc.rom
00000000000e0000-00000000000fffff (prio 1, rom): alias isa-bios @pc.bios 0000000000020000-000000000003ffff
00000000fffc0000-00000000ffffffff (prio 0, rom): pc.bios
...Philippe Mathieu-Daudé (7):
stubs: Merge physmem.c within ram-block.c
system/ramblock: Constify various RAMBlock arguments system/memory: Constify various MemoryRegion arguments system/memory: Have memory_region_type() correctly describe containers system/memory: Display address spaces starting at 0x0000.0000 system/memory: Allow mtree_print_mr() to display distinct address
width
system/memory: Have 'info mtree' display addresses nicely
include/system/memory.h | 28 +++++----- include/system/ramblock.h | 26 ++++----- stubs/physmem.c | 13 ----- stubs/ram-block.c | 17 ++++-- system/memory.c | 108 ++++++++++++++++++++++++-------------- system/physmem.c | 26 ++++----- stubs/meson.build | 1 - 7 files changed, 123 insertions(+), 96 deletions(-) delete mode 100644 stubs/physmem.c
Signature · 1 line
2.52.0