/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | centaur.c | 57 set_cpu_cap(c, X86_FEATURE_CX8); in init_c3() 62 set_cpu_cap(c, X86_FEATURE_3DNOW); in init_c3() 66 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_c3() 70 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_c3() 99 set_cpu_cap(c, X86_FEATURE_CENTAUR_MCR); in early_init_centaur() 103 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_centaur() 106 set_cpu_cap(c, X86_FEATURE_SYSENTER32); in early_init_centaur() 109 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_centaur() 110 set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); in early_init_centaur() 197 set_cpu_cap(c, X86_FEATURE_CX8); in init_centaur() [all …]
|
H A D | hygon.c | 109 set_cpu_cap(c, X86_FEATURE_AMD_DCM); in hygon_get_topology() 251 set_cpu_cap(c, X86_FEATURE_K8); in early_init_hygon() 261 set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); in early_init_hygon() 266 set_cpu_cap(c, X86_FEATURE_ACC_POWER); in early_init_hygon() 270 set_cpu_cap(c, X86_FEATURE_RAPL); in early_init_hygon() 273 set_cpu_cap(c, X86_FEATURE_SYSCALL32); in early_init_hygon() 290 set_cpu_cap(c, X86_FEATURE_VMMCALL); in early_init_hygon() 305 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_hygon() 316 set_cpu_cap(c, X86_FEATURE_ZEN); in init_hygon() 317 set_cpu_cap(c, X86_FEATURE_CPB); in init_hygon() [all …]
|
H A D | zhaoxin.c | 54 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_zhaoxin_cap() 60 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_zhaoxin() 62 set_cpu_cap(c, X86_FEATURE_SYSENTER32); in early_init_zhaoxin() 65 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_zhaoxin() 66 set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); in early_init_zhaoxin() 102 set_cpu_cap(c, X86_FEATURE_ARCH_PERFMON); in init_zhaoxin() 108 set_cpu_cap(c, X86_FEATURE_LFENCE_RDTSC); in init_zhaoxin()
|
H A D | feat_ctl.c | 89 set_cpu_cap(c, X86_FEATURE_TPR_SHADOW); in init_vmx_capabilities() 91 set_cpu_cap(c, X86_FEATURE_FLEXPRIORITY); in init_vmx_capabilities() 93 set_cpu_cap(c, X86_FEATURE_VNMI); in init_vmx_capabilities() 95 set_cpu_cap(c, X86_FEATURE_EPT); in init_vmx_capabilities() 97 set_cpu_cap(c, X86_FEATURE_EPT_AD); in init_vmx_capabilities() 99 set_cpu_cap(c, X86_FEATURE_VPID); in init_vmx_capabilities() 169 set_cpu_cap(c, X86_FEATURE_MSR_IA32_FEAT_CTL); in init_ia32_feat_ctl()
|
H A D | amd.c | 189 set_cpu_cap(c, X86_FEATURE_PGE); in init_amd_k6() 287 set_cpu_cap(c, X86_FEATURE_XMM); in init_amd_k7() 436 set_cpu_cap(c, X86_FEATURE_AMD_DCM); in amd_get_topology() 713 set_cpu_cap(c, X86_FEATURE_K8); in early_init_amd() 732 set_cpu_cap(c, X86_FEATURE_RAPL); in early_init_amd() 735 set_cpu_cap(c, X86_FEATURE_SYSCALL32); in early_init_amd() 769 set_cpu_cap(c, X86_FEATURE_VMMCALL); in early_init_amd() 1029 set_cpu_cap(c, X86_FEATURE_CPB); in init_amd_zen1() 1037 set_cpu_cap(c, X86_FEATURE_BTC_NO); in init_amd_zen1() 1111 set_cpu_cap(c, X86_FEATURE_FSRS); in init_amd() [all …]
|
H A D | intel.c | 120 set_cpu_cap(c, X86_FEATURE_RING3MWAIT); in probe_xeon_phi_r3mwait() 286 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_intel() 322 set_cpu_cap(c, X86_FEATURE_SYSENTER32); in early_init_intel() 342 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in early_init_intel() 343 set_cpu_cap(c, X86_FEATURE_NONSTOP_TSC); in early_init_intel() 519 set_cpu_cap(c, X86_FEATURE_PAE); in intel_workarounds() 661 set_cpu_cap(c, X86_FEATURE_BTS); in init_intel() 663 set_cpu_cap(c, X86_FEATURE_PEBS); in init_intel() 678 set_cpu_cap(c, X86_FEATURE_REP_GOOD); in init_intel() 715 set_cpu_cap(c, X86_FEATURE_P4); in init_intel() [all …]
|
H A D | cyrix.c | 183 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in early_init_cyrix() 187 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in early_init_cyrix() 207 set_cpu_cap(c, X86_FEATURE_CXMMX); in init_cyrix() 254 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in init_cyrix() 334 set_cpu_cap(c, X86_FEATURE_CYRIX_ARR); in init_cyrix()
|
H A D | common.c | 159 set_cpu_cap(c, info->feature); in ppin_init() 603 set_cpu_cap(c, X86_FEATURE_USER_SHSTK); in setup_cet() 1000 set_cpu_cap(c, X86_FEATURE_IBRS); in init_speculation_control() 1001 set_cpu_cap(c, X86_FEATURE_IBPB); in init_speculation_control() 1002 set_cpu_cap(c, X86_FEATURE_MSR_SPEC_CTRL); in init_speculation_control() 1006 set_cpu_cap(c, X86_FEATURE_STIBP); in init_speculation_control() 1010 set_cpu_cap(c, X86_FEATURE_SSBD); in init_speculation_control() 1013 set_cpu_cap(c, X86_FEATURE_IBRS); in init_speculation_control() 1018 set_cpu_cap(c, X86_FEATURE_IBPB); in init_speculation_control() 1021 set_cpu_cap(c, X86_FEATURE_STIBP); in init_speculation_control() [all …]
|
H A D | transmeta.c | 92 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); in init_transmeta()
|
H A D | scattered.c | 76 set_cpu_cap(c, cb->feature); in init_scattered_cpuid_features()
|
H A D | topology.c | 75 set_cpu_cap(c, X86_FEATURE_XTOPOLOGY); in detect_extended_topology_early()
|
/openbmc/linux/arch/um/include/asm/ |
H A D | cpufeature.h | 57 #define set_cpu_cap(c, bit) set_bit(bit, (unsigned long *)((c)->x86_capability)) macro 62 set_cpu_cap(&boot_cpu_data, bit); \ 128 #define set_cpu_bug(c, bit) set_cpu_cap(c, (bit)) 132 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit))
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cpufeature.h | 148 #define set_cpu_cap(c, bit) set_bit(bit, (unsigned long *)((c)->x86_capability)) macro 154 set_cpu_cap(&boot_cpu_data, bit); \ 201 #define set_cpu_bug(c, bit) set_cpu_cap(c, (bit)) 206 #define boot_cpu_set_bug(bit) set_cpu_cap(&boot_cpu_data, (bit))
|
/openbmc/linux/arch/um/kernel/ |
H A D | um_arch.c | 288 set_cpu_cap(&boot_cpu_data, i); in parse_host_cpu_flags()
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | cpuinfo.rst | 64 conditions are met, the features are enabled by the set_cpu_cap or
|
/openbmc/linux/arch/x86/kernel/apic/ |
H A D | apic.c | 2004 set_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC); in apic_verify()
|