summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/kvm_pgtable.h
diff options
context:
space:
mode:
authorOliver Upton <oliver.upton@linux.dev>2022-11-08 00:56:33 +0300
committerMarc Zyngier <maz@kernel.org>2022-11-10 17:43:46 +0300
commit2a611c7f87f26cca405da63a57f06d0e4dc14240 (patch)
tree0325919c15c8b2aa79568ba712697108ede332e0 /arch/arm64/include/asm/kvm_pgtable.h
parent83844a2317ecad935f6735abd854e4bf3f757040 (diff)
downloadlinux-2a611c7f87f26cca405da63a57f06d0e4dc14240.tar.xz
KVM: arm64: Pass mm_ops through the visitor context
As a prerequisite for getting visitors off of struct kvm_pgtable, pass mm_ops through the visitor context. No functional change intended. Signed-off-by: Oliver Upton <oliver.upton@linux.dev> Reviewed-by: Ben Gardon <bgardon@google.com> Reviewed-by: Gavin Shan <gshan@redhat.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221107215644.1895162-4-oliver.upton@linux.dev
Diffstat (limited to 'arch/arm64/include/asm/kvm_pgtable.h')
-rw-r--r--arch/arm64/include/asm/kvm_pgtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_pgtable.h b/arch/arm64/include/asm/kvm_pgtable.h
index 14d4b68a1e92..a752793482cb 100644
--- a/arch/arm64/include/asm/kvm_pgtable.h
+++ b/arch/arm64/include/asm/kvm_pgtable.h
@@ -203,6 +203,7 @@ struct kvm_pgtable_visit_ctx {
kvm_pte_t *ptep;
kvm_pte_t old;
void *arg;
+ struct kvm_pgtable_mm_ops *mm_ops;
u64 addr;
u64 end;
u32 level;