Home
last modified time | relevance | path

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

/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.h467 #define static_cpu_has(bit) \ macro
561 #define static_cpu_has(bit) boot_cpu_has(bit) macro
569 #define static_cpu_has_bug(bit) static_cpu_has((bit))
/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()
/arch/x86/kvm/
Dcpuid.h28 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()
1318 if (static_cpu_has(X86_FEATURE_TSCRATEMSR) && in svm_vcpu_load()
2888 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in invlpg_interception()
2905 if (!static_cpu_has(X86_FEATURE_NRIPS)) in rdpmc_interception()
2945 if (!static_cpu_has(X86_FEATURE_DECODEASSISTS)) in cr_interception()
3769 if (static_cpu_has(X86_FEATURE_FLUSHBYASID)) in svm_flush_tlb()
4348 if (static_cpu_has(X86_FEATURE_NRIPS)) in svm_check_intercept()
/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.c558 if (!static_cpu_has(X86_FEATURE_FPU)) in fpregs_get()
591 if (!static_cpu_has(X86_FEATURE_FPU)) in fpregs_set()
/arch/x86/mm/
Dfault.c1032 if (!static_cpu_has(X86_FEATURE_SMAP)) in smap_violation()
/arch/x86/
DKconfig.debug310 fails if static_cpu_has() is used before alternatives have