Home
last modified time | relevance | path

Searched refs:tdp_mmu_enabled (Results 1 – 4 of 4) 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.c10167 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);
557 return tdp_mmu_enabled && vcpu->arch.mmu->root_role.direct; in is_tdp_mmu_active()
1383 if (tdp_mmu_enabled) in kvm_mmu_write_protect_pt_masked()
1406 if (tdp_mmu_enabled) in kvm_mmu_clear_dirty_pt_masked()
1490 if (tdp_mmu_enabled) in kvm_mmu_slot_gfn_write_protect()
1667 if (tdp_mmu_enabled) in kvm_unmap_gfn_range()
1761 return !tdp_mmu_enabled || READ_ONCE(kvm->arch.indirect_shadow_pages); in kvm_may_have_shadow_mmu_sptes()
1768 if (tdp_mmu_enabled) in kvm_age_gfn()
[all …]
/linux/arch/x86/kvm/vmx/
H A Dtdx.c3514 if (!tdp_mmu_enabled || !enable_mmio_caching || !enable_ept_ad_bits) { in tdx_bringup()