Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/
H A Dmmu.h36 #define PT64_ROOT_4LEVEL 4 macro
/linux/arch/x86/kvm/mmu/
H A Dmmu.c2484 if (iterator->level >= PT64_ROOT_4LEVEL && in shadow_walk_init_using_root()
2485 vcpu->arch.mmu->cpu_role.base.level < PT64_ROOT_4LEVEL && in shadow_walk_init_using_root()
3936 if (shadow_root_level >= PT64_ROOT_4LEVEL) { in mmu_alloc_direct_roots()
4098 if (mmu->cpu_role.base.level >= PT64_ROOT_4LEVEL) { in mmu_alloc_shadow_roots()
4116 if (mmu->root_role.level >= PT64_ROOT_4LEVEL) { in mmu_alloc_shadow_roots()
4159 else if (mmu->root_role.level == PT64_ROOT_4LEVEL) in mmu_alloc_shadow_roots()
4175 bool need_pml5 = mmu->root_role.level > PT64_ROOT_4LEVEL; in mmu_alloc_special_roots()
4187 mmu->cpu_role.base.level >= PT64_ROOT_4LEVEL || in mmu_alloc_special_roots()
4188 mmu->root_role.level < PT64_ROOT_4LEVEL) in mmu_alloc_special_roots()
4292 if (vcpu->arch.mmu->cpu_role.base.level >= PT64_ROOT_4LEVEL) { in kvm_mmu_sync_roots()
[all …]
/linux/arch/x86/kvm/svm/
H A Dsvm.c197 return pgtable_l5_enabled() ? PT64_ROOT_5LEVEL : PT64_ROOT_4LEVEL; in get_npt_level()
4455 } else if (root_level >= PT64_ROOT_4LEVEL) { in svm_load_mmu_pgd()