Searched refs:s2_mmu (Results 1 – 1 of 1) sorted by relevance
609 struct kvm_s2_mmu *s2_mmu; in get_s2_mmu_nested() local614 s2_mmu = lookup_s2_mmu(vcpu); in get_s2_mmu_nested()615 if (s2_mmu) in get_s2_mmu_nested()626 s2_mmu = &kvm->arch.nested_mmus[i % kvm->arch.nested_mmus_size]; in get_s2_mmu_nested()628 if (atomic_read(&s2_mmu->refcnt) == 0) in get_s2_mmu_nested()631 BUG_ON(atomic_read(&s2_mmu->refcnt)); /* We have struct MMUs to spare */ in get_s2_mmu_nested()637 if (kvm_s2_mmu_valid(s2_mmu)) in get_s2_mmu_nested()638 s2_mmu->pending_unmap = true; in get_s2_mmu_nested()648 s2_mmu->tlb_vttbr = vcpu_read_sys_reg(vcpu, VTTBR_EL2) & ~VTTBR_CNP_BIT; in get_s2_mmu_nested()649 s2_mmu->tlb_vtcr = vcpu_read_sys_reg(vcpu, VTCR_EL2); in get_s2_mmu_nested()[all …]