aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSebastian Ene <[email protected]>2024-09-09 12:47:21 +0000
committerMarc Zyngier <[email protected]>2024-09-10 21:32:51 +0100
commit7c4f73548ed15476daf1101f66648085eda65067 (patch)
treebff6a61499f134c4c03039205afb99944af58614 /lib/crypto/mpi/mpi-mod.c
parent79c4c7284f92d5e780c8532c343ca2cacfaf5125 (diff)
KVM: arm64: Register ptdump with debugfs on guest creation
While arch/*/mem/ptdump handles the kernel pagetable dumping code, introduce KVM/ptdump to show the guest stage-2 pagetables. The separation is necessary because most of the definitions from the stage-2 pagetable reside in the KVM path and we will be invoking functionality specific to KVM. Introduce the PTDUMP_STAGE2_DEBUGFS config. When a guest is created, register a new file entry under the guest debugfs dir which allows userspace to show the contents of the guest stage-2 pagetables when accessed. [maz: moved function prototypes from kvm_host.h to kvm_mmu.h] Signed-off-by: Sebastian Ene <[email protected]> Reviewed-by: Vincent Donnefort <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions