Home
last modified time | relevance | path

Searched refs:host_kvm (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c25 struct host_kvm host_kvm; variable
33 hyp_spin_lock(&host_kvm.lock); in host_lock_component()
38 hyp_spin_unlock(&host_kvm.lock); in host_unlock_component()
93 host_kvm.mm_ops = (struct kvm_pgtable_mm_ops) { in prepare_s2_pool()
114 host_kvm.arch.vtcr = kvm_get_vtcr(id_aa64mmfr0_el1_sys_val, in prepare_host_vtcr()
122 struct kvm_s2_mmu *mmu = &host_kvm.arch.mmu; in kvm_host_prepare_stage2()
126 hyp_spin_lock_init(&host_kvm.lock); in kvm_host_prepare_stage2()
127 mmu->arch = &host_kvm.arch; in kvm_host_prepare_stage2()
133 ret = __kvm_pgtable_stage2_init(&host_kvm.pgt, mmu, in kvm_host_prepare_stage2()
134 &host_kvm.mm_ops, KVM_HOST_S2_FLAGS, in kvm_host_prepare_stage2()
[all …]
/linux-6.1.9/arch/arm64/kvm/hyp/include/nvhe/
Dmem_protect.h46 struct host_kvm { struct
52 extern struct host_kvm host_kvm; argument
69 __load_stage2(&host_kvm.arch.mmu, &host_kvm.arch); in __load_host_stage2()