Home
last modified time | relevance | path

Searched refs:kvm_s2_mmu (Results 1 – 14 of 14) sorted by relevance

/arch/arm64/kvm/hyp/nvhe/
Dtlb.c14 struct kvm_s2_mmu *mmu;
19 static void enter_vmid_context(struct kvm_s2_mmu *mmu, in enter_vmid_context()
23 struct kvm_s2_mmu *host_s2_mmu = &host_mmu.arch.mmu; in enter_vmid_context()
117 struct kvm_s2_mmu *mmu = cxt->mmu; in exit_vmid_context()
147 void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa()
199 void __kvm_tlb_flush_vmid_ipa_nsh(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa_nsh()
251 void __kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_range()
281 void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu) in __kvm_tlb_flush_vmid()
295 void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu) in __kvm_flush_cpu_context()
Dhyp-main.c1128 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid_ipa()
1137 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid_ipa_nsh()
1147 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid_range()
1156 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid()
1181 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_flush_cpu_context()
Dswitch.c356 struct kvm_s2_mmu *mmu; in __kvm_vcpu_run()
Dmem_protect.c181 struct kvm_s2_mmu *mmu = &host_mmu.arch.mmu; in kvm_host_prepare_stage2()
343 struct kvm_s2_mmu *mmu = &vm->kvm.arch.mmu; in kvm_guest_prepare_stage2()
458 struct kvm_s2_mmu *mmu = &host_mmu.arch.mmu; in __pkvm_prot_finalize()
Dpkvm.c779 struct kvm_s2_mmu *mmu = &hyp_vm->kvm.arch.mmu; in insert_vm_table_entry()
/arch/arm64/kvm/hyp/vhe/
Dtlb.c19 static void __tlb_switch_to_guest(struct kvm_s2_mmu *mmu, in __tlb_switch_to_guest()
82 void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa()
114 void __kvm_tlb_flush_vmid_ipa_nsh(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa_nsh()
146 void __kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_range()
174 void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu) in __kvm_tlb_flush_vmid()
190 void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu) in __kvm_flush_cpu_context()
/arch/arm64/include/asm/
Dkvm_mmu.h179 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu, unsigned long type);
181 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu);
293 static __always_inline u64 kvm_get_vttbr(struct kvm_s2_mmu *mmu) in kvm_get_vttbr()
309 static __always_inline void __load_stage2(struct kvm_s2_mmu *mmu, in __load_stage2()
323 static inline struct kvm *kvm_s2_mmu_to_kvm(struct kvm_s2_mmu *mmu) in kvm_s2_mmu_to_kvm()
Dkvm_asm.h265 struct kvm_s2_mmu;
282 extern void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu);
283 extern void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, phys_addr_t ipa,
285 extern void __kvm_tlb_flush_vmid_ipa_nsh(struct kvm_s2_mmu *mmu,
288 extern void __kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu,
290 extern void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu);
Dkvm_pgtable.h468 struct kvm_s2_mmu *mmu;
592 int __kvm_pgtable_stage2_init(struct kvm_pgtable *pgt, struct kvm_s2_mmu *mmu,
939 void kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu,
Dkvm_host.h173 struct kvm_s2_mmu { struct
244 struct kvm_s2_mmu mmu;
583 struct kvm_s2_mmu *hw_mmu;
/arch/arm64/kvm/hyp/
Dpgtable.c574 struct kvm_s2_mmu *mmu;
630 void kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu, in kvm_tlb_flush_vmid_range()
773 struct kvm_s2_mmu *mmu) in stage2_try_break_pte()
839 struct kvm_s2_mmu *mmu) in stage2_unmap_clear_pte()
856 struct kvm_s2_mmu *mmu, in stage2_unmap_put_pte()
1240 struct kvm_s2_mmu *mmu = pgt->mmu; in stage2_unmap_walker()
1646 struct kvm_s2_mmu *mmu; in stage2_split_walker()
1685 mmu = container_of(mc, struct kvm_s2_mmu, split_page_cache); in stage2_split_walker()
1724 int __kvm_pgtable_stage2_init(struct kvm_pgtable *pgt, struct kvm_s2_mmu *mmu, in __kvm_pgtable_stage2_init()
/arch/arm64/kvm/
Dptdump.c339 struct kvm_s2_mmu *mmu = &kvm->arch.mmu; in kvm_ptdump_guest_show()
430 struct kvm_s2_mmu *mmu; in kvm_pgtable_debugfs_open()
Dmmu.c388 static void __unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size, in __unmap_stage2_range()
409 static void unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size) in unmap_stage2_range()
983 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu, unsigned long type) in kvm_init_stage2_mmu()
1129 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu) in kvm_free_stage2_pgd()
1291 static void stage2_wp_range(struct kvm_s2_mmu *mmu, phys_addr_t addr, phys_addr_t end) in stage2_wp_range()
2076 struct kvm_s2_mmu *mmu; in handle_access_fault()
Darm.c530 struct kvm_s2_mmu *mmu; in kvm_arch_vcpu_load()