Skip to content

KVM: arm64: nv: Expose shadow page tables in debugfs

Wei-Lin Chang kvmarm linux-arm-kernel lkml 3 versions – Applied

Status from this message: Applied to next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesApplied
  2. v1 posting 2/22 patches 8 repliesSuperseded
  3. v1 posting 1/22 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- move debugfs_nv_dentry also behind CONFIG_PTDUMP_STAGE2_DEBUGFS
- use a macro to define the file names of shadow ptdumps, also
explicitly spell out the string to get its maximum size
- add Reviewed-by tag from Sebastian (thanks!)
- Link to v1: https://lore.kernel.org/kvmarm/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: ptdump: Make KVM ptdump code s2 mmu awarearch/arm64/kvm/ptdump.c+17 -160 replies
2/2KVM: arm64: nv: Expose shadow page tables in debugfsarch/arm64/include/asm/kvm_host.h arch/arm64/include/asm/kvm_mmu.h arch/arm64/kvm/nested.c +1 more+45 -14 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSebastian EneJoey Gouly
SeriesR-b
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] KVM: arm64: nv: Expose shadow page tables in debugfs

Hi,

This is v2 of exposing shadow page tables in debugfs, there are a few small improvements, please see below.

Changes in v2:
- move debugfs_nv_dentry also behind CONFIG_PTDUMP_STAGE2_DEBUGFS
- use a macro to define the file names of shadow ptdumps, also
explicitly spell out the string to get its maximum size
- add Reviewed-by tag from Sebastian (thanks!)
- Link to v1: https://lore.kernel.org/kvmarm/[email protected]/

Wei-Lin Chang (2):
KVM: arm64: ptdump: Make KVM ptdump code s2 mmu aware
KVM: arm64: nv: Expose shadow page tables in debugfs

 arch/arm64/include/asm/kvm_host.h |  9 +++++
 arch/arm64/include/asm/kvm_mmu.h  |  4 +++
 arch/arm64/kvm/nested.c           |  6 +++-
 arch/arm64/kvm/ptdump.c           | 60 ++++++++++++++++++++++---------
 4 files changed, 62 insertions(+), 17 deletions(-)
Signature · 1 line
2.43.0