Home
last modified time | relevance | path

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

/linux-6.15/arch/arm64/kvm/
H A Dnested.c610 struct kvm_s2_mmu *s2_mmu; in get_s2_mmu_nested() local
615 s2_mmu = lookup_s2_mmu(vcpu); in get_s2_mmu_nested()
616 if (s2_mmu) in get_s2_mmu_nested()
627 s2_mmu = &kvm->arch.nested_mmus[i % kvm->arch.nested_mmus_size]; in get_s2_mmu_nested()
629 if (atomic_read(&s2_mmu->refcnt) == 0) in get_s2_mmu_nested()
638 if (kvm_s2_mmu_valid(s2_mmu)) in get_s2_mmu_nested()
639 s2_mmu->pending_unmap = true; in get_s2_mmu_nested()
650 s2_mmu->tlb_vtcr = vcpu_read_sys_reg(vcpu, VTCR_EL2); in get_s2_mmu_nested()
654 atomic_inc(&s2_mmu->refcnt); in get_s2_mmu_nested()
662 if (s2_mmu->pending_unmap) in get_s2_mmu_nested()
[all …]