Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/
H A Dmmu.h253 extern bool tdp_mmu_enabled;
255 #define tdp_mmu_enabled false macro
262 return !tdp_mmu_enabled || kvm_shadow_root_allocated(kvm); in kvm_memslots_have_rmaps()
H A Dx86.c10214 if (IS_ENABLED(CONFIG_KVM_SW_PROTECTED_VM) && tdp_mmu_enabled) in kvm_x86_vendor_init()
/linux/arch/x86/kvm/mmu/
H A Dmmu.c111 bool __read_mostly tdp_mmu_enabled = true; variable
112 module_param_named(tdp_mmu, tdp_mmu_enabled, bool, 0444);
113 EXPORT_SYMBOL_FOR_KVM_INTERNAL(tdp_mmu_enabled);
559 return tdp_mmu_enabled && vcpu->arch.mmu->root_role.direct; in is_tdp_mmu_active()
1372 if (tdp_mmu_enabled) in kvm_mmu_write_protect_pt_masked()
1395 if (tdp_mmu_enabled) in kvm_mmu_clear_dirty_pt_masked()
1479 if (tdp_mmu_enabled) in kvm_mmu_slot_gfn_write_protect()
1656 if (tdp_mmu_enabled) in kvm_unmap_gfn_range()
1750 return !tdp_mmu_enabled || READ_ONCE(kvm->arch.indirect_shadow_pages); in kvm_may_have_shadow_mmu_sptes()
1757 if (tdp_mmu_enabled) in kvm_age_gfn()
[all …]