Searched refs:prev_roots (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/ |
H A D | mmu.c | 3577 VALID_PAGE(mmu->prev_roots[i].hpa)) in kvm_mmu_free_roots() 3588 mmu_free_root_page(kvm, &mmu->prev_roots[i].hpa, in kvm_mmu_free_roots() 3629 root_hpa = mmu->prev_roots[i].hpa; in kvm_mmu_free_guest_mode_roots() 4040 if (is_unsync_root(vcpu->arch.mmu->prev_roots[i].hpa)) in kvm_mmu_sync_prev_roots() 4043 /* sync prev_roots by simply freeing them */ in kvm_mmu_sync_prev_roots() 4566 swap(mmu->root, mmu->prev_roots[i]); in cached_root_find_and_keep_current() 4589 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in cached_root_find_without_current() 4595 swap(mmu->root, mmu->prev_roots[i]); in cached_root_find_without_current() 4598 mmu->prev_roots[i] = mmu->prev_roots[ in cached_root_find_without_current() [all...] |
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
H A D | mmu.c | 3171 VALID_PAGE(mmu->prev_roots[i].hpa)) in kvm_mmu_free_roots() 3182 mmu_free_root_page(kvm, &mmu->prev_roots[i].hpa, in kvm_mmu_free_roots() 3861 swap(root, mmu->prev_roots[i]); in cached_root_available() 4812 vcpu->arch.mmu->prev_roots[i] = KVM_MMU_ROOT_INFO_INVALID; in kvm_init_mmu() 5153 * Mappings not reachable via the current cr3 or the prev_roots will be in kvm_mmu_invalidate_gva() 5158 if (VALID_PAGE(mmu->prev_roots[i].hpa)) in kvm_mmu_invalidate_gva() 5159 mmu->invlpg(vcpu, gva, mmu->prev_roots[i].hpa); in kvm_mmu_invalidate_gva() 5187 if (VALID_PAGE(mmu->prev_roots[i].hpa) && in kvm_mmu_invpcid_gva() 5188 pcid == kvm_get_pcid(vcpu, mmu->prev_roots[i].pgd)) { in kvm_mmu_invpcid_gva() 5190 mmu->invlpg(vcpu, gva, mmu->prev_roots[ in kvm_mmu_invpcid_gva() [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | kvm_host.h | 369 struct kvm_mmu_root_info prev_roots[KVM_MMU_NUM_PREV_ROOTS]; member
|
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/ |
H A D | nested.c | 368 cached_root = &vcpu->arch.mmu->prev_roots[i]; in nested_ept_invalidate_addr() 5728 if (nested_ept_root_matches(mmu->prev_roots[i].hpa, in handle_invept() 5729 mmu->prev_roots[i].pgd, in handle_invept()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | kvm_host.h | 460 struct kvm_mmu_root_info prev_roots[KVM_MMU_NUM_PREV_ROOTS]; member
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
H A D | nested.c | 5463 if (nested_ept_root_matches(mmu->prev_roots[i].hpa, in handle_invept() 5464 mmu->prev_roots[i].pgd, in handle_invept()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
H A D | x86.c | 11585 if (kvm_get_pcid(vcpu, vcpu->arch.mmu->prev_roots[i].pgd) in kvm_handle_invpcid() 11591 * If neither the current cr3 nor any of the prev_roots use the in kvm_handle_invpcid()
|
/kernel/linux/linux-6.6/arch/x86/kvm/ |
H A D | x86.c | 1157 * according to the SDM; however, stale prev_roots could be reused in kvm_post_set_cr4() 1242 * If neither the current CR3 nor any of the prev_roots use the given in kvm_invalidate_pcid() 1252 * If PCID is disabled, there is no need to free prev_roots even if the in kvm_invalidate_pcid() 1260 if (kvm_get_pcid(vcpu, mmu->prev_roots[i].pgd) == pcid) in kvm_invalidate_pcid()
|
Completed in 67 milliseconds