Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kvm/mmu/
Dmmu.c2189 iterator->level = vcpu->arch.mmu->shadow_root_level; in shadow_walk_init_using_root()
3356 if (mmu->shadow_root_level >= PT64_ROOT_4LEVEL && in kvm_mmu_free_roots()
3431 u8 shadow_root_level = mmu->shadow_root_level; in mmu_alloc_direct_roots() local
3444 } else if (shadow_root_level >= PT64_ROOT_4LEVEL) { in mmu_alloc_direct_roots()
3445 root = mmu_alloc_root(vcpu, 0, 0, shadow_root_level, true); in mmu_alloc_direct_roots()
3447 } else if (shadow_root_level == PT32E_ROOT_LEVEL) { in mmu_alloc_direct_roots()
3463 WARN_ONCE(1, "Bad TDP root level = %d\n", shadow_root_level); in mmu_alloc_direct_roots()
3520 mmu->shadow_root_level, false); in mmu_alloc_shadow_roots()
3536 if (mmu->shadow_root_level >= PT64_ROOT_4LEVEL) { in mmu_alloc_shadow_roots()
3545 if (mmu->shadow_root_level == PT64_ROOT_5LEVEL) { in mmu_alloc_shadow_roots()
[all …]
Dtdp_mmu.c200 role = page_role_for_level(vcpu, vcpu->arch.mmu->shadow_root_level); in kvm_tdp_mmu_get_vcpu_root_hpa()
209 root = alloc_tdp_mmu_page(vcpu, 0, vcpu->arch.mmu->shadow_root_level); in kvm_tdp_mmu_get_vcpu_root_hpa()
672 _mmu->shadow_root_level, _start, _end)
1551 *root_level = vcpu->arch.mmu->shadow_root_level; in kvm_tdp_mmu_get_walk()
/Linux-v5.15/arch/x86/kvm/
Dmmu.h114 vcpu->arch.mmu->shadow_root_level); in kvm_mmu_load_pgd()
/Linux-v5.15/arch/x86/include/asm/
Dkvm_host.h434 u8 shadow_root_level; member
/Linux-v5.15/arch/x86/kvm/svm/
Dsvm.c3920 } else if (vcpu->arch.mmu->shadow_root_level >= PT64_ROOT_4LEVEL) { in svm_load_mmu_pgd()
/Linux-v5.15/arch/x86/kvm/vmx/
Dvmx.c2941 mmu->shadow_root_level)); in vmx_flush_tlb_current()