Home
last modified time | relevance | path

Searched refs:this_cpu_has (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dsmm_test.c86 if (this_cpu_has(X86_FEATURE_SVM)) { in guest_code()
102 if (this_cpu_has(X86_FEATURE_SVM)) { in guest_code()
Dcr4_cpuid_sync_test.c26 return (this_cpu_has(X86_FEATURE_OSXSAVE) == !!(cr4 & X86_CR4_OSXSAVE)); in cr4_cpuid_is_sync()
Damx_test.c123 GUEST_ASSERT(this_cpu_has(X86_FEATURE_XSAVE)); in check_cpuid_xsave()
124 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSXSAVE)); in check_cpuid_xsave()
Dstate_test.c145 if (this_cpu_has(X86_FEATURE_SVM)) in guest_code()
Dnested_exceptions_test.c161 if (this_cpu_has(X86_FEATURE_SVM)) in l1_guest_code()
/linux-6.1.9/drivers/thermal/intel/
Dtherm_throt.c606 if (this_cpu_has(X86_FEATURE_PLN) && int_pln_enable) in intel_thermal_interrupt()
611 if (this_cpu_has(X86_FEATURE_PTS)) { in intel_thermal_interrupt()
618 if (this_cpu_has(X86_FEATURE_PLN) && int_pln_enable) in intel_thermal_interrupt()
624 if (this_cpu_has(X86_FEATURE_HFI)) in intel_thermal_interrupt()
/linux-6.1.9/arch/um/include/asm/
Dcpufeature.h39 #define this_cpu_has(bit) \ macro
/linux-6.1.9/arch/x86/include/asm/
Dcpufeature.h128 #define this_cpu_has(bit) \ macro
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c627 if (this_cpu_has(X86_FEATURE_ARAT)) { in setup_APIC_timer()
636 if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) { in setup_APIC_timer()
656 if (!this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) in __lapic_update_tsc_freq()
/linux-6.1.9/drivers/acpi/
Dprocessor_throttling.c707 !this_cpu_has(X86_FEATURE_ACPI)) { in acpi_throttling_rdmsr()
727 !this_cpu_has(X86_FEATURE_ACPI)) { in acpi_throttling_wrmsr()
/linux-6.1.9/arch/x86/kernel/
Dsmpboot.c1758 if (!this_cpu_has(X86_FEATURE_MWAIT)) in mwait_play_dead()
1760 if (!this_cpu_has(X86_FEATURE_CLFLUSH)) in mwait_play_dead()
Dprocess.c860 if (this_cpu_has(X86_BUG_CLFLUSH_MONITOR)) { in mwait_idle()
/linux-6.1.9/arch/x86/mm/
Dtlb.c1133 if (!this_cpu_has(X86_FEATURE_INVPCID_SINGLE)) in native_flush_tlb_one_user()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h428 static inline bool this_cpu_has(struct kvm_x86_cpu_feature feature) in this_cpu_has() function
/linux-6.1.9/arch/x86/kvm/svm/
Dsev.c463 if (this_cpu_has(X86_FEATURE_SME_COHERENT) || npages == 0 || in sev_clflush_pages()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c7417 if (!this_cpu_has(X86_FEATURE_MSR_IA32_FEAT_CTL) || in vmx_check_processor_compat()
7418 !this_cpu_has(X86_FEATURE_VMX)) { in vmx_check_processor_compat()