Home
last modified time | relevance | path

Searched refs:tdp_enabled (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/x86/kvm/
Dtrace.h599 __u32 event_inj, bool tdp_enabled, __u64 guest_tdp_pgd,
601 TP_ARGS(rip, vmcb, nested_rip, int_ctl, event_inj, tdp_enabled,
610 __field( bool, tdp_enabled )
621 __entry->tdp_enabled = tdp_enabled;
622 __entry->guest_pgd = tdp_enabled ? guest_tdp_pgd : guest_cr3;
635 __entry->tdp_enabled ? "y" : "n",
636 !__entry->tdp_enabled ? "guest_cr3" :
Dmmu.h79 int max_gpa_bits = likely(tdp_enabled) ? shadow_phys_bits : 52; in kvm_mmu_max_gfn()
Dcpuid.c637 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in kvm_set_cpu_caps()
690 if (!tdp_enabled && IS_ENABLED(CONFIG_X86_64)) in kvm_set_cpu_caps()
1163 if (!tdp_enabled) in __do_cpuid_func()
Dmtrr.c312 if (msr == MSR_IA32_CR_PAT || !tdp_enabled || in update_mtrr()
Dx86.c895 if (!tdp_enabled && memcmp(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs))) in load_pdptrs()
1134 if (!tdp_enabled && in kvm_post_set_cr4()
1210 if (unlikely(tdp_enabled)) { in kvm_invalidate_pcid()
3406 if (!tdp_enabled) { in kvm_vcpu_flush_tlb_guest()
/linux-6.1.9/arch/x86/kvm/mmu/
Dpage_track.c25 !tdp_enabled || kvm_shadow_root_allocated(kvm); in kvm_page_track_write_tracking_enabled()
Dmmu.c99 bool tdp_enabled = false; variable
2382 if (tdp_enabled && invalid_list && in mmu_page_zap_pte()
3805 if (WARN_ON_ONCE(!tdp_enabled || mmu->pae_root || mmu->pml4_root || in mmu_alloc_special_roots()
4626 return tdp_enabled ? boot_cpu_has(X86_FEATURE_GBPAGES) : in guest_can_use_gbpages()
4735 WARN_ON_ONCE(!tdp_enabled); in boot_cpu_is_amd()
5247 else if (tdp_enabled) in kvm_init_mmu()
5676 tdp_enabled = enable_tdp; in kvm_configure_mmu()
5687 if (tdp_enabled) in kvm_configure_mmu()
5750 if (!tdp_enabled && mmu->pae_root) in free_mmu_pages()
5768 if (!tdp_enabled && mmu == &vcpu->arch.guest_mmu) in __kvm_mmu_create()
[all …]
Dtdp_mmu.c21 if (!tdp_enabled || !READ_ONCE(tdp_mmu_enabled)) in kvm_mmu_init_tdp_mmu()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h1767 extern bool tdp_enabled;