Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm64/kvm/hyp/nvhe/
Dtlb.c17 static void __tlb_switch_to_guest(struct kvm_s2_mmu *mmu, in __tlb_switch_to_guest()
58 void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, in __kvm_tlb_flush_vmid_ipa()
112 void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu) in __kvm_tlb_flush_vmid()
128 void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu) in __kvm_flush_cpu_context()
Dhyp-main.c45 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid_ipa()
54 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_tlb_flush_vmid()
61 DECLARE_REG(struct kvm_s2_mmu *, mmu, host_ctxt, 1); in handle___kvm_flush_cpu_context()
Dmem_protect.c122 struct kvm_s2_mmu *mmu = &host_kvm.arch.mmu; in kvm_host_prepare_stage2()
148 struct kvm_s2_mmu *mmu = &host_kvm.arch.mmu; in __pkvm_prot_finalize()
Dswitch.c268 struct kvm_s2_mmu *mmu; in __kvm_vcpu_run()
/linux-5.19.10/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(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()
/linux-5.19.10/arch/arm64/include/asm/
Dkvm_mmu.h168 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu);
169 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu);
266 static __always_inline u64 kvm_get_vttbr(struct kvm_s2_mmu *mmu) in kvm_get_vttbr()
282 static __always_inline void __load_stage2(struct kvm_s2_mmu *mmu, in __load_stage2()
296 static inline struct kvm *kvm_s2_mmu_to_kvm(struct kvm_s2_mmu *mmu) in kvm_s2_mmu_to_kvm()
Dkvm_asm.h191 struct kvm_s2_mmu;
206 extern void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu);
207 extern void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, phys_addr_t ipa,
209 extern void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu);
Dkvm_pgtable.h174 struct kvm_s2_mmu *mmu;
302 int __kvm_pgtable_stage2_init(struct kvm_pgtable *pgt, struct kvm_s2_mmu *mmu,
Dkvm_host.h80 struct kvm_s2_mmu { struct
119 struct kvm_s2_mmu mmu; argument
315 struct kvm_s2_mmu *hw_mmu;
/linux-5.19.10/arch/arm64/kvm/
Dmmu.c176 static void __unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size, in __unmap_stage2_range()
188 static void unmap_stage2_range(struct kvm_s2_mmu *mmu, phys_addr_t start, u64 size) in unmap_stage2_range()
648 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu) in kvm_init_stage2_mmu()
755 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu) in kvm_free_stage2_pgd()
827 static void stage2_wp_range(struct kvm_s2_mmu *mmu, phys_addr_t addr, phys_addr_t end) in stage2_wp_range()
1322 struct kvm_s2_mmu *mmu; in handle_access_fault()
Darm.c379 struct kvm_s2_mmu *mmu; in kvm_arch_vcpu_load()
/linux-5.19.10/arch/arm64/kvm/hyp/
Dpgtable.c573 struct kvm_s2_mmu *mmu;
685 static void stage2_put_pte(kvm_pte_t *ptep, struct kvm_s2_mmu *mmu, u64 addr, in stage2_put_pte()
957 struct kvm_s2_mmu *mmu = pgt->mmu; in stage2_unmap_walker()
1175 int __kvm_pgtable_stage2_init(struct kvm_pgtable *pgt, struct kvm_s2_mmu *mmu, in __kvm_pgtable_stage2_init()