Searched refs:kvm_s2_mmu (Results 1 – 13 of 13) sorted by relevance
/arch/arm64/kvm/hyp/nvhe/ |
D | tlb.c | 14 struct kvm_s2_mmu *mmu; 19 static void enter_vmid_context(struct kvm_s2_mmu *mmu, in enter_vmid_context() 22 struct kvm_s2_mmu *host_s2_mmu = &host_mmu.arch.mmu; in enter_vmid_context() 94 struct kvm_s2_mmu *mmu = cxt->mmu; in exit_vmid_context() 124 void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa() 178 void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu) in __kvm_tlb_flush_vmid() 194 void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu) in __kvm_flush_cpu_context()
|
D | switch.c | 282 struct kvm_s2_mmu *mmu; in __kvm_vcpu_run()
|
D | hyp-main.c | 919 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid_ipa() 928 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid() 935 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_flush_cpu_context()
|
D | mem_protect.c | 166 struct kvm_s2_mmu *mmu = &host_mmu.arch.mmu; in kvm_host_prepare_stage2() 273 struct kvm_s2_mmu *mmu = &vm->kvm.arch.mmu; in kvm_guest_prepare_stage2() 380 struct kvm_s2_mmu *mmu = &host_mmu.arch.mmu; in __pkvm_prot_finalize()
|
D | pkvm.c | 618 struct kvm_s2_mmu *mmu = &hyp_vm->kvm.arch.mmu; in insert_vm_table_entry()
|
/arch/arm64/kvm/hyp/vhe/ |
D | tlb.c | 19 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(struct kvm_s2_mmu *mmu) in __kvm_tlb_flush_vmid() 130 void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu) in __kvm_flush_cpu_context()
|
/arch/arm64/include/asm/ |
D | kvm_mmu.h | 169 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu, unsigned long type); 170 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu); 272 static __always_inline u64 kvm_get_vttbr(struct kvm_s2_mmu *mmu) in kvm_get_vttbr() 288 static __always_inline void __load_stage2(struct kvm_s2_mmu *mmu, in __load_stage2() 302 static inline struct kvm *kvm_s2_mmu_to_kvm(struct kvm_s2_mmu *mmu) in kvm_s2_mmu_to_kvm()
|
D | kvm_asm.h | 251 struct kvm_s2_mmu; 268 extern void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu); 269 extern void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, phys_addr_t ipa, 271 extern void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu);
|
D | kvm_pgtable.h | 280 struct kvm_s2_mmu *mmu; 415 int __kvm_pgtable_stage2_init(struct kvm_pgtable *pgt, struct kvm_s2_mmu *mmu,
|
D | kvm_host.h | 139 struct kvm_s2_mmu { struct 195 struct kvm_s2_mmu mmu; 439 struct kvm_s2_mmu *hw_mmu;
|
/arch/arm64/kvm/ |
D | mmu.c | 211 static void __unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size, in __unmap_stage2_range() 223 static void unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size) in unmap_stage2_range() 742 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu, unsigned long type) in kvm_init_stage2_mmu() 878 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu) in kvm_free_stage2_pgd() 1042 static void stage2_wp_range(struct kvm_s2_mmu *mmu, phys_addr_t addr, phys_addr_t end) in stage2_wp_range() 1657 struct kvm_s2_mmu *mmu; in handle_access_fault()
|
D | arm.c | 516 struct kvm_s2_mmu *mmu; in kvm_arch_vcpu_load()
|
/arch/arm64/kvm/hyp/ |
D | pgtable.c | 518 struct kvm_s2_mmu *mmu; 659 static void stage2_clear_pte(kvm_pte_t *ptep, struct kvm_s2_mmu *mmu, u64 addr, in stage2_clear_pte() 669 static void stage2_put_pte(kvm_pte_t *ptep, struct kvm_s2_mmu *mmu, u64 addr, in stage2_put_pte() 1027 struct kvm_s2_mmu *mmu = pgt->mmu; in stage2_unmap_walker() 1273 int __kvm_pgtable_stage2_init(struct kvm_pgtable *pgt, struct kvm_s2_mmu *mmu, in __kvm_pgtable_stage2_init()
|