RISC-V KVM gstage page table dumper
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v23 patches 0 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Split the first patch into two as requested by Paul Walmsley:
Patch 1 now only creates ptdump.h and moves declarations there with no functional changes (structures moved verbatim). Patch 2 handles the structure renames and per-level attribute bit parsing logic.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | riscv: ptdump: Create ptdump.h and move declarationsarch/ arch/ | +44 | 0 replies | |
| 2/3 | riscv: ptdump: Use per-level attribute bits for parsingarch/ arch/ | +44 | 0 replies | |
| 3/3 | KVM: riscv: Register ptdump with debugfs on guest creationarch/ arch/ arch/ | +190 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] RISC-V KVM gstage page table dumper
This series adds support for dumping RISC-V KVM gstage (second-stage) page tables via debugfs, allowing inspection of the guest physical address translation setup.
Changes since v2:
- Split the first patch into two as requested by Paul Walmsley:
Patch 1 now only creates ptdump.h and moves declarations there with no functional changes (structures moved verbatim). Patch 2 handles the structure renames and per-level attribute bit parsing logic.
Patch 1: Create ptdump.h and move declarations
Patch 2: Use per-level attribute bits for parsing Patch 3: Register gstage ptdump with debugfs on guest creation
Dylan.Wu (3):
riscv: ptdump: Create ptdump.h and move declarations
riscv: ptdump: Use per-level attribute bits for parsing
KVM: riscv: Register ptdump with debugfs on guest creation
arch/riscv/include/asm/ptdump.h | 43 ++++++++ arch/riscv/kvm/Kconfig | 12 +++ arch/riscv/kvm/Makefile | 1 + arch/riscv/kvm/ptdump.c | 177 ++++++++++++++++++++++++++++++++ arch/riscv/mm/ptdump.c | 106 ++++++++----------- 5 files changed, 275 insertions(+), 64 deletions(-) create mode 100644 arch/riscv/include/asm/ptdump.h create mode 100644 arch/riscv/kvm/ptdump.c
Signature · 1 line
2.34.1