Home
last modified time | relevance | path

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

/linux-6.1.9/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()
Dswitch.c244 struct kvm_s2_mmu *mmu; in __kvm_vcpu_run()
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()
/linux-6.1.9/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-6.1.9/arch/arm64/include/asm/
Dkvm_mmu.h169 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu);
170 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu);
267 static __always_inline u64 kvm_get_vttbr(struct kvm_s2_mmu *mmu) in kvm_get_vttbr()
283 static __always_inline void __load_stage2(struct kvm_s2_mmu *mmu, in __load_stage2()
297 static inline struct kvm *kvm_s2_mmu_to_kvm(struct kvm_s2_mmu *mmu) in kvm_s2_mmu_to_kvm()
Dkvm_asm.h207 struct kvm_s2_mmu;
222 extern void __kvm_flush_cpu_context(struct kvm_s2_mmu *mmu);
223 extern void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, phys_addr_t ipa,
225 extern void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu);
Dkvm_pgtable.h182 struct kvm_s2_mmu *mmu;
310 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-6.1.9/arch/arm64/kvm/
Dmmu.c211 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()
683 int kvm_init_stage2_mmu(struct kvm *kvm, struct kvm_s2_mmu *mmu) in kvm_init_stage2_mmu()
790 void kvm_free_stage2_pgd(struct kvm_s2_mmu *mmu) in kvm_free_stage2_pgd()
862 static void stage2_wp_range(struct kvm_s2_mmu *mmu, phys_addr_t addr, phys_addr_t end) in stage2_wp_range()
1357 struct kvm_s2_mmu *mmu; in handle_access_fault()
Darm.c385 struct kvm_s2_mmu *mmu; in kvm_arch_vcpu_load()
/linux-6.1.9/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()