Searched refs:static_cpu_has (Results 1 – 24 of 24) sorted by relevance
52 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))119 #define static_cpu_has(bit) \ macro129 #define static_cpu_has_bug(bit) static_cpu_has((bit))
64 if (static_cpu_has(X86_FEATURE_SERIALIZE)) { in sync_core()99 if (static_cpu_has(X86_FEATURE_PTI)) in sync_core_before_usermode()
72 (__builtin_constant_p(bit) && DISABLED_MASK_BIT_SET(bit) ? 0 : static_cpu_has(bit))119 #define static_cpu_has(bit) \ macro130 #define static_cpu_has_bug(bit) static_cpu_has((bit))
48 return max_longs && static_cpu_has(X86_FEATURE_RDRAND) && rdrand_long(v) ? 1 : 0; in arch_get_random_longs()53 return max_longs && static_cpu_has(X86_FEATURE_RDSEED) && rdseed_long(v) ? 1 : 0; in arch_get_random_seed_longs()
132 if (static_cpu_has(X86_FEATURE_HYPERVISOR) && !hw_breakpoint_active()) in local_db_save()
914 if (!static_cpu_has(X86_FEATURE_PTI)) in pti_set_user_pgtbl()1462 if (!static_cpu_has(X86_FEATURE_PTI)) in clone_pgd_range()
91 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_pages()130 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_sg()160 if (static_cpu_has(X86_FEATURE_CLFLUSH)) { in drm_clflush_virt_range()335 if (static_cpu_has(X86_FEATURE_XMM4_1) && in drm_memcpy_init_early()
85 if (static_cpu_has(X86_FEATURE_WAITPKG)) in x86_late_time_init()
64 if (static_cpu_has(X86_FEATURE_PTI)) { in load_mm_ldt()
1480 if (!static_cpu_has(X86_FEATURE_XMM)) { in DEFINE_IDTENTRY()
169 if (static_cpu_has(X86_FEATURE_XMM4_1) && in i915_memcpy_init_early()
197 if (static_cpu_has(X86_BUG_NULL_SEG)) in ex_handler_clear_fs()
308 WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS)); in __svm_skip_emulated_instruction()378 if (static_cpu_has(X86_FEATURE_NRIPS)) in svm_update_soft_interrupt_rip()576 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_enable_virtualization_cpu()1957 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in pf_interception()2005 static_cpu_has(X86_FEATURE_DECODEASSISTS) ? in npf_interception()2514 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception()2562 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception()4147 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb_asid()4508 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run()4513 if (!static_cpu_has(X86_FEATURE_V_SPEC_CTRL)) in svm_vcpu_run()[all …]
882 if (!static_cpu_has(X86_FEATURE_FPU)) in switch_fpu_return()
657 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in maybe_flush_caches()
1510 if (!enable_pmu || !static_cpu_has(X86_FEATURE_ARCH_PERFMON)) { in __do_cpuid_func()1751 (static_cpu_has(X86_FEATURE_LFENCE_RDTSC) in __do_cpuid_func()
215 if (!static_cpu_has(X86_FEATURE_CONSTANT_TSC) || in kvm_xen_start_timer()
1788 if (!static_cpu_has(X86_FEATURE_XSAVES) && in set_efer()3205 if (static_cpu_has(X86_FEATURE_CONSTANT_TSC)) in get_cpu_tsc_khz()3222 (static_cpu_has(X86_FEATURE_CONSTANT_TSC) || __this_cpu_read(cpu_tsc_khz))) { in __get_kvmclock()
1180 if (static_cpu_has(X86_FEATURE_ARCH_LBR)) in task_context_opt()
561 if (!static_cpu_has(X86_FEATURE_HWP)) in disable_dynamic_sst_features()
451 if (cache && !static_cpu_has(X86_FEATURE_CLFLUSH)) { in cpa_flush()
418 if (static_cpu_has(X86_FEATURE_FLUSH_L1D)) { in vmx_l1d_flush()1801 if (!static_cpu_has(X86_FEATURE_HYPERVISOR) || in skip_emulated_instruction()8818 if (!static_cpu_has(X86_FEATURE_SELFSNOOP)) in vmx_hardware_setup()
310 if (!static_cpu_has(X86_FEATURE_ZEN)) in detect_vt630x_with_asm1083_on_amd_ryzen_machine()
6110 if (!static_cpu_has(X86_FEATURE_ARCH_LBR) && x86_pmu.lbr_nr) in intel_pmu_cpu_starting()