Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/
A Dnested.c608 struct kvm_s2_mmu *s2_mmu; in get_s2_mmu_nested() local
613 s2_mmu = lookup_s2_mmu(vcpu); in get_s2_mmu_nested()
614 if (s2_mmu) in get_s2_mmu_nested()
625 s2_mmu = &kvm->arch.nested_mmus[i % kvm->arch.nested_mmus_size]; in get_s2_mmu_nested()
627 if (atomic_read(&s2_mmu->refcnt) == 0) in get_s2_mmu_nested()
636 if (kvm_s2_mmu_valid(s2_mmu)) in get_s2_mmu_nested()
637 s2_mmu->pending_unmap = true; in get_s2_mmu_nested()
648 s2_mmu->tlb_vtcr = vcpu_read_sys_reg(vcpu, VTCR_EL2); in get_s2_mmu_nested()
652 atomic_inc(&s2_mmu->refcnt); in get_s2_mmu_nested()
660 if (s2_mmu->pending_unmap) in get_s2_mmu_nested()
[all …]

Completed in 12 milliseconds