diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2022-11-07 22:56:33 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-10 15:43:46 +0100 |
commit | 2a611c7f87f26cca405da63a57f06d0e4dc14240 (patch) | |
tree | 0325919c15c8b2aa79568ba712697108ede332e0 /arch/arm64/include/asm | |
parent | KVM: arm64: Stash observed pte value in visitor context (diff) | |
download | linux-2a611c7f87f26cca405da63a57f06d0e4dc14240.tar.xz linux-2a611c7f87f26cca405da63a57f06d0e4dc14240.zip |
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')
-rw-r--r-- | arch/arm64/include/asm/kvm_pgtable.h | 1 |
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; |