Home
last modified time | relevance | path

Searched refs:static_cpu_has (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
Darchrandom.h117 #define arch_has_random() static_cpu_has(X86_FEATURE_RDRAND)
118 #define arch_has_random_seed() static_cpu_has(X86_FEATURE_RDSEED)
Dcpufeature.h488 #define static_cpu_has(bit) \ macro
583 #define static_cpu_has(bit) boot_cpu_has(bit) macro
591 #define static_cpu_has_bug(bit) static_cpu_has((bit))
/linux-4.1.27/arch/x86/kernel/cpu/
Dproc.c37 static_cpu_has(X86_FEATURE_FPU) ? "yes" : "no", in show_cpuinfo_misc()
38 static_cpu_has(X86_FEATURE_FPU) ? "yes" : "no", in show_cpuinfo_misc()
/linux-4.1.27/drivers/cpufreq/
Damd_freq_sensitivity.c118 if (!static_cpu_has(X86_FEATURE_PROC_FEEDBACK)) in amd_freq_sensitivity_init()
Dpowernow-k8.c1204 if (static_cpu_has(X86_FEATURE_HW_PSTATE)) { in powernowk8_init()
/linux-4.1.27/arch/x86/kvm/
Dcpuid.h34 if (!static_cpu_has(X86_FEATURE_XSAVE)) in guest_cpuid_has_xsave()
Dsvm.c515 WARN_ON_ONCE(!static_cpu_has(X86_FEATURE_NRIPS)); in skip_emulated_instruction()
547 if (nr == BP_VECTOR && !static_cpu_has(X86_FEATURE_NRIPS)) { in svm_queue_exception()
630 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) in svm_hardware_disable()
673 if (static_cpu_has(X86_FEATURE_TSCRATEMSR)) { in svm_hardware_enable()
1321 if (static_cpu_has(X86_FEATURE_TSCRATEMSR) && in svm_vcpu_load()
2885 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception()
2902 if (!static_cpu_has(X86_FEATURE_NRIPS)) in rdpmc_interception()
2943 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception()
3758 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb()
4323 if (static_cpu_has(X86_FEATURE_NRIPS)) in svm_check_intercept()
/linux-4.1.27/arch/x86/kernel/
Dxsave.c250 if (!static_cpu_has(X86_FEATURE_FPU)) in save_xstate_sig()
355 if (!static_cpu_has(X86_FEATURE_FPU)) in __restore_xstate_sig()
Di387.c562 if (!static_cpu_has(X86_FEATURE_FPU)) in fpregs_get()
595 if (!static_cpu_has(X86_FEATURE_FPU)) in fpregs_set()
/linux-4.1.27/arch/x86/
DKconfig.debug330 fails if static_cpu_has() is used before alternatives have
/linux-4.1.27/arch/x86/mm/
Dfault.c1039 if (!static_cpu_has(X86_FEATURE_SMAP)) in smap_violation()