Skip to content

target/ppc: Implement radix mmu debug functions

Suraj Jitindar Singh qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/ppc: Refactor tcg radix mmu codetarget/ppc/mmu-radix64.c+8 -140 replies
2/3target/ppc: Add debug function for radix mmu translationtarget/ppc/mmu-radix64.c target/ppc/mmu-radix64.h target/ppc/mmu_helper.c+48 -10 replies
3/3target/ppc: Add debug function to dump radix mmu translationstarget/ppc/mmu-radix64.c target/ppc/mmu-radix64.h target/ppc/mmu_helper.c+51 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [Qemu-PPC] [PATCH 0/3] target/ppc: Implement radix mmu debug functions

When the radix mmu emulation code was implemented the translation debug functions were left as a todo.

Implement the functions ppc_radix64_get_phys_page_debug() and ppc_radix64_dump_level() to translate a single address and dump all the address translations respectively.

This functionality is already implemented for the hash mmu.

A slight refactor of the radix mmu emulation code was necessary to enable the debug code to call existing functions.

Suraj Jitindar Singh (3):
target/ppc: Refactor tcg radix mmu code
target/ppc: Add debug function for radix mmu translation target/ppc: Add debug function to dump radix mmu translations

 target/ppc/mmu-radix64.c | 116 +++++++++++++++++++++++++++++++++++++++++------
 target/ppc/mmu-radix64.h |   2 +
 target/ppc/mmu_helper.c  |   5 +-
 3 files changed, 107 insertions(+), 16 deletions(-)
Signature · 1 line
2.9.4