summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_book3s_64.h
diff options
context:
space:
mode:
authorPaul Mackerras2018-10-08 07:31:17 +0200
committerMichael Ellerman2018-10-09 07:04:27 +0200
commit83a055104eaf89589582659737ff5bf6eed63ac4 (patch)
tree4eb46ed6e4e9d564a62a4dc900703fd7b9a9de9e /arch/powerpc/include/asm/kvm_book3s_64.h
parentKVM: PPC: Book3S HV: Allow HV module to load without hypervisor mode (diff)
downloadkernel-qcow2-linux-83a055104eaf89589582659737ff5bf6eed63ac4.tar.gz
kernel-qcow2-linux-83a055104eaf89589582659737ff5bf6eed63ac4.tar.xz
kernel-qcow2-linux-83a055104eaf89589582659737ff5bf6eed63ac4.zip
KVM: PPC: Book3S HV: Add nested shadow page tables to debugfs
This adds a list of valid shadow PTEs for each nested guest to the 'radix' file for the guest in debugfs. This can be useful for debugging. Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s_64.h')
-rw-r--r--arch/powerpc/include/asm/kvm_book3s_64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s_64.h b/arch/powerpc/include/asm/kvm_book3s_64.h
index 83d4def5f1ed..6d298145d564 100644
--- a/arch/powerpc/include/asm/kvm_book3s_64.h
+++ b/arch/powerpc/include/asm/kvm_book3s_64.h
@@ -120,6 +120,7 @@ struct rmap_nested {
struct kvm_nested_guest *kvmhv_get_nested(struct kvm *kvm, int l1_lpid,
bool create);
void kvmhv_put_nested(struct kvm_nested_guest *gp);
+int kvmhv_nested_next_lpid(struct kvm *kvm, int lpid);
/* Encoding of first parameter for H_TLB_INVALIDATE */
#define H_TLBIE_P1_ENC(ric, prs, r) (___PPC_RIC(ric) | ___PPC_PRS(prs) | \