Home
last modified time | relevance | path

Searched refs:host_mmu (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/arch/arm64/kvm/hyp/include/nvhe/
Dmem_protect.h48 struct host_mmu { struct
54 extern struct host_mmu host_mmu; argument
89 __load_stage2(&host_mmu.arch.mmu, &host_mmu.arch); in __load_host_stage2()
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c24 struct host_mmu host_mmu; variable
45 hyp_spin_lock(&host_mmu.lock); in host_lock_component()
50 hyp_spin_unlock(&host_mmu.lock); in host_unlock_component()
96 kvm_pgtable_stage2_free_unlinked(&host_mmu.mm_ops, addr, level); in host_s2_free_unlinked_table()
110 host_mmu.mm_ops = (struct kvm_pgtable_mm_ops) { in prepare_s2_pool()
132 host_mmu.arch.vtcr = kvm_get_vtcr(id_aa64mmfr0_el1_sys_val, in prepare_host_vtcr()
140 struct kvm_s2_mmu *mmu = &host_mmu.arch.mmu; in kvm_host_prepare_stage2()
144 hyp_spin_lock_init(&host_mmu.lock); in kvm_host_prepare_stage2()
145 mmu->arch = &host_mmu.arch; in kvm_host_prepare_stage2()
151 ret = __kvm_pgtable_stage2_init(&host_mmu.pgt, mmu, in kvm_host_prepare_stage2()
[all …]
Dpkvm.c306 hyp_vm->kvm.arch.vtcr = host_mmu.arch.vtcr; in init_pkvm_hyp_vm()
486 pgd_size = kvm_pgtable_stage2_pgd_size(host_mmu.arch.vtcr); in __pkvm_init_vm()