Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dstate_test.c143 if (this_cpu_has(X86_FEATURE_XSAVE)) { in guest_code()
150 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSXSAVE)); in guest_code()
176 if (this_cpu_has(X86_FEATURE_MPX)) { in guest_code()
210 if (this_cpu_has(X86_FEATURE_PKU)) { in guest_code()
213 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSPKE)); in guest_code()
222 if (this_cpu_has(X86_FEATURE_SVM)) in guest_code()
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.c131 GUEST_ASSERT(this_cpu_has(X86_FEATURE_XSAVE)); in init_regs()
137 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSXSAVE)); in init_regs()
Dhyperv_features.c74 if (!this_cpu_has(HV_ACCESS_TSC_INVARIANT)) in guest_msr()
75 GUEST_ASSERT(this_cpu_has(X86_FEATURE_INVTSC)); in guest_msr()
77 GUEST_ASSERT(this_cpu_has(X86_FEATURE_INVTSC) == in guest_msr()
Dnested_exceptions_test.c161 if (this_cpu_has(X86_FEATURE_SVM)) in l1_guest_code()
/linux-6.6.21/drivers/thermal/intel/
Dtherm_throt.c666 if (this_cpu_has(X86_FEATURE_PLN) && int_pln_enable) in intel_thermal_interrupt()
671 if (this_cpu_has(X86_FEATURE_PTS)) { in intel_thermal_interrupt()
678 if (this_cpu_has(X86_FEATURE_PLN) && int_pln_enable) in intel_thermal_interrupt()
684 if (this_cpu_has(X86_FEATURE_HFI)) in intel_thermal_interrupt()
/linux-6.6.21/arch/um/include/asm/
Dcpufeature.h39 #define this_cpu_has(bit) \ macro
/linux-6.6.21/arch/x86/include/asm/
Dcpufeature.h126 #define this_cpu_has(bit) \ macro
/linux-6.6.21/tools/testing/selftests/kvm/
Daccess_tracking_perf_test.c188 TEST_ASSERT(this_cpu_has(X86_FEATURE_HYPERVISOR), in mark_vcpu_memory_idle()
/linux-6.6.21/arch/x86/kernel/
Dsmpboot.c1491 if (!this_cpu_has(X86_FEATURE_MWAIT)) in mwait_play_dead()
1493 if (!this_cpu_has(X86_FEATURE_CLFLUSH)) in mwait_play_dead()
Dprocess.c921 if (this_cpu_has(X86_BUG_CLFLUSH_MONITOR)) { in mwait_idle()
/linux-6.6.21/arch/x86/kernel/apic/
Dapic.c596 if (this_cpu_has(X86_FEATURE_ARAT)) { in setup_APIC_timer()
605 if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) { in setup_APIC_timer()
625 if (!this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) in __lapic_update_tsc_freq()
/linux-6.6.21/drivers/acpi/
Dprocessor_throttling.c705 !this_cpu_has(X86_FEATURE_ACPI)) { in acpi_throttling_rdmsr()
725 !this_cpu_has(X86_FEATURE_ACPI)) { in acpi_throttling_wrmsr()
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h666 static inline bool this_cpu_has(struct kvm_x86_cpu_feature feature) in this_cpu_has() function
703 !this_cpu_has(feature.anti_feature); in this_pmu_has()
/linux-6.6.21/arch/x86/kvm/svm/
Dsev.c471 if (this_cpu_has(X86_FEATURE_SME_COHERENT) || npages == 0 || in sev_clflush_pages()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c2753 if (!this_cpu_has(X86_FEATURE_MSR_IA32_FEAT_CTL) || in __kvm_is_vmx_supported()
2754 !this_cpu_has(X86_FEATURE_VMX)) { in __kvm_is_vmx_supported()
/linux-6.6.21/arch/x86/events/intel/
Dcore.c4666 if (this_cpu_has(X86_FEATURE_ARCH_PERFMON_EXT)) in init_hybrid_pmu()