• Marc Zyngier's avatar
    Merge branch kvm-arm64/s2-ptdump into kvmarm-master/next · f6254690
    Marc Zyngier authored
    * kvm-arm64/s2-ptdump:
      : .
      : Stage-2 page table dumper, reusing the main ptdump infrastructure,
      : courtesy of Sebastian Ene. From the cover letter:
      :
      : "This series extends the ptdump support to allow dumping the guest
      : stage-2 pagetables. When CONFIG_PTDUMP_STAGE2_DEBUGFS is enabled, ptdump
      : registers the new following files under debugfs:
      : - /sys/debug/kvm/<guest_id>/stage2_page_tables
      : - /sys/debug/kvm/<guest_id>/stage2_levels
      : - /sys/debug/kvm/<guest_id>/ipa_range
      :
      : This allows userspace tools (eg. cat) to dump the stage-2 pagetables by
      : reading the 'stage2_page_tables' file.
      : [...]"
      : .
      KVM: arm64: Register ptdump with debugfs on guest creation
      arm64: ptdump: Don't override the level when operating on the stage-2 tables
      arm64: ptdump: Use the ptdump description from a local context
      arm64: ptdump: Expose the attribute parsing functionality
      KVM: arm64: Move pagetable definitions to common header
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    f6254690
Kconfig 2.3 KB