Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dsmaller_maxphyaddr_emulation_test.c21 static void guest_code(bool tdp_enabled) in guest_code() argument
35 if (tdp_enabled) { in guest_code()
/linux-6.12.1/arch/x86/kvm/
Dhyperv.h255 bool tdp_enabled) in kvm_hv_nested_transtion_tlb_flush() argument
263 if (to_hv_vcpu(vcpu) && tdp_enabled) in kvm_hv_nested_transtion_tlb_flush()
323 static inline void kvm_hv_nested_transtion_tlb_flush(struct kvm_vcpu *vcpu, bool tdp_enabled) {} in kvm_hv_nested_transtion_tlb_flush() argument
Dmmu.h73 int max_gpa_bits = likely(tdp_enabled) ? kvm_host.maxphyaddr : 52; in kvm_mmu_max_gfn()
157 if (!tdp_enabled || mmu == &vcpu->arch.guest_mmu) in kvm_mmu_refresh_passthrough_bits()
Dtrace.h605 __u32 event_inj, bool tdp_enabled, __u64 guest_tdp_pgd,
607 TP_ARGS(rip, vmcb, nested_rip, int_ctl, event_inj, tdp_enabled,
616 __field( bool, tdp_enabled )
627 __entry->tdp_enabled = tdp_enabled;
628 __entry->guest_pgd = tdp_enabled ? guest_tdp_pgd : guest_cr3;
641 __entry->tdp_enabled ? "y" : "n",
642 !__entry->tdp_enabled ? "guest_cr3" :
Dcpuid.c371 allow_gbpages = tdp_enabled ? boot_cpu_has(X86_FEATURE_GBPAGES) : in kvm_vcpu_after_set_cpuid()
678 if (!tdp_enabled || !boot_cpu_has(X86_FEATURE_OSPKE)) in kvm_set_cpu_caps()
747 if (!tdp_enabled && IS_ENABLED(CONFIG_X86_64)) in kvm_set_cpu_caps()
1303 if (!tdp_enabled) { in __do_cpuid_func()
Dx86.c1091 if (!tdp_enabled && memcmp(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs))) in load_pdptrs()
1133 if (tdp_enabled) { in kvm_post_set_cr0()
1348 if (!tdp_enabled && in kvm_post_set_cr4()
1421 if (unlikely(tdp_enabled)) { in kvm_invalidate_pcid()
3631 if (!tdp_enabled) { in kvm_vcpu_flush_tlb_guest()
4687 r = tdp_enabled; in kvm_vm_ioctl_check_extension()
Dhyperv.c1972 if (!tdp_enabled || !hv_vcpu) in kvm_hv_vcpu_flush_tlb()
/linux-6.12.1/arch/x86/kvm/mmu/
Dpage_track.c39 kvm_shadow_root_allocated(kvm) || !tdp_enabled; in kvm_page_track_write_tracking_enabled()
Dmmu.c106 bool tdp_enabled = false; variable
2498 if (tdp_enabled && invalid_list && in mmu_page_zap_pte()
3987 if (WARN_ON_ONCE(!tdp_enabled || mmu->pae_root || mmu->pml4_root || in mmu_alloc_special_roots()
5186 WARN_ON_ONCE(!tdp_enabled); in boot_cpu_is_amd()
5713 else if (tdp_enabled) in kvm_init_mmu()
6297 tdp_enabled = enable_tdp; in kvm_configure_mmu()
6302 tdp_mmu_enabled = tdp_mmu_allowed && tdp_enabled; in kvm_configure_mmu()
6311 if (tdp_enabled) in kvm_configure_mmu()
6322 if (!tdp_enabled && mmu->pae_root) in free_mmu_pages()
6340 if (!tdp_enabled && mmu == &vcpu->arch.guest_mmu) in __kvm_mmu_create()
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dkvm_host.h1984 extern bool tdp_enabled;