Searched refs:this_cpu_has (Results 1 – 18 of 18) sorted by relevance
143 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()
86 if (this_cpu_has(X86_FEATURE_SVM)) { in guest_code()102 if (this_cpu_has(X86_FEATURE_SVM)) { in guest_code()
26 return (this_cpu_has(X86_FEATURE_OSXSAVE) == !!(cr4 & X86_CR4_OSXSAVE)); in cr4_cpuid_is_sync()
131 GUEST_ASSERT(this_cpu_has(X86_FEATURE_XSAVE)); in init_regs()137 GUEST_ASSERT(this_cpu_has(X86_FEATURE_OSXSAVE)); in init_regs()
74 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()
161 if (this_cpu_has(X86_FEATURE_SVM)) in l1_guest_code()
666 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()
39 #define this_cpu_has(bit) \ macro
130 #define this_cpu_has(bit) \ macro
188 TEST_ASSERT(this_cpu_has(X86_FEATURE_HYPERVISOR), in mark_vcpu_memory_idle()
1480 if (!this_cpu_has(X86_FEATURE_MWAIT)) in mwait_play_dead()1482 if (!this_cpu_has(X86_FEATURE_CLFLUSH)) in mwait_play_dead()
921 if (this_cpu_has(X86_BUG_CLFLUSH_MONITOR)) { in mwait_idle()
608 if (this_cpu_has(X86_FEATURE_ARAT)) { in setup_APIC_timer()617 if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) { in setup_APIC_timer()637 if (!this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) in __lapic_update_tsc_freq()
705 !this_cpu_has(X86_FEATURE_ACPI)) { in acpi_throttling_rdmsr()725 !this_cpu_has(X86_FEATURE_ACPI)) { in acpi_throttling_wrmsr()
666 static inline bool this_cpu_has(struct kvm_x86_cpu_feature feature) in this_cpu_has() function703 !this_cpu_has(feature.anti_feature); in this_pmu_has()
478 if (this_cpu_has(X86_FEATURE_SME_COHERENT) || npages == 0 || in sev_clflush_pages()
2757 if (!this_cpu_has(X86_FEATURE_MSR_IA32_FEAT_CTL) || in __kvm_is_vmx_supported()2758 !this_cpu_has(X86_FEATURE_VMX)) { in __kvm_is_vmx_supported()
4687 if (this_cpu_has(X86_FEATURE_ARCH_PERFMON_EXT)) in init_hybrid_pmu()