| /Linux-v5.10/arch/x86/kernel/cpu/ |
| D | amd.c | 223 if (!cpu_has(c, X86_FEATURE_XMM)) { in init_amd_k7() 271 if (cpu_has(c, X86_FEATURE_MP)) in init_amd_k7() 365 } else if (cpu_has(c, X86_FEATURE_NODEID_MSR)) { in amd_get_topology() 403 if (!cpu_has(c, X86_FEATURE_AMD_PPIN)) in amd_detect_ppin() 539 if (cpu_has(c, X86_FEATURE_CONSTANT_TSC)) { in bsp_init_amd() 566 if (cpu_has(c, X86_FEATURE_MWAITX)) in bsp_init_amd() 622 if (cpu_has(c, X86_FEATURE_SME) || cpu_has(c, X86_FEATURE_SEV)) { in early_detect_mem_encrypt() 737 !cpu_has(c, X86_FEATURE_TOPOEXT)) { in early_init_amd() 748 if (cpu_has(c, X86_FEATURE_TOPOEXT)) in early_init_amd() 767 if (c->x86_model < 0x14 && cpu_has(c, X86_FEATURE_LAHF_LM)) { in init_amd_k8() [all …]
|
| D | hygon.c | 56 if (cpu_has(c, X86_FEATURE_TOPOEXT)) in hygon_get_topology_early() 97 } else if (cpu_has(c, X86_FEATURE_NODEID_MSR)) { in hygon_get_topology() 224 if (cpu_has(c, X86_FEATURE_CONSTANT_TSC)) { in bsp_init_hygon() 232 if (cpu_has(c, X86_FEATURE_MWAITX)) in bsp_init_hygon() 333 if (cpu_has(c, X86_FEATURE_XMM2)) { in init_hygon() 353 if (!cpu_has(c, X86_FEATURE_XENPV)) in init_hygon()
|
| D | common.c | 260 if (!cpu_has(c, X86_FEATURE_PN) || !disable_x86_serial_nr) in squash_the_stupid_serial_number() 301 if (cpu_has(c, X86_FEATURE_SMEP)) in setup_smep() 319 if (cpu_has(c, X86_FEATURE_SMAP)) { in setup_smap() 335 if (!cpu_has(c, X86_FEATURE_UMIP)) in setup_umip() 475 if (!cpu_has(c, X86_FEATURE_PKU)) in setup_pku() 537 if (!cpu_has(c, df->feature)) in filter_cpuid_features() 756 if (!cpu_has(c, X86_FEATURE_HT)) in detect_ht_early() 759 if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) in detect_ht_early() 762 if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) in detect_ht_early() 865 if (cpu_has(c, X86_FEATURE_SPEC_CTRL)) { in init_speculation_control() [all …]
|
| D | intel.c | 167 if (cpu_has(c, X86_FEATURE_HYPERVISOR)) in bad_spectre_microcode() 198 if (c->x86 >= 6 && !cpu_has(c, X86_FEATURE_IA64)) in early_init_intel() 202 if ((cpu_has(c, X86_FEATURE_SPEC_CTRL) || in early_init_intel() 203 cpu_has(c, X86_FEATURE_INTEL_STIBP) || in early_init_intel() 204 cpu_has(c, X86_FEATURE_IBRS) || cpu_has(c, X86_FEATURE_IBPB) || in early_init_intel() 205 cpu_has(c, X86_FEATURE_STIBP)) && bad_spectre_microcode(c)) { in early_init_intel() 619 if (!cpu_has(c, X86_FEATURE_XTOPOLOGY)) { in init_intel() 639 if (cpu_has(c, X86_FEATURE_XMM2)) in init_intel() 711 if (cpu_has(c, X86_FEATURE_TME)) in init_intel() 1181 if (!cpu_has(c, X86_FEATURE_CORE_CAPABILITIES)) in cpu_set_core_cap_bits()
|
| D | proc.c | 86 if (cpu_has(c, X86_FEATURE_TSC)) { in show_cpuinfo() 106 if (cpu_has(c, i) && x86_cap_flags[i] != NULL) in show_cpuinfo() 110 if (cpu_has(c, X86_FEATURE_VMX) && c->vmx_capability[0]) { in show_cpuinfo()
|
| D | perfctr-watchdog.c | 55 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_perfctr_msr_to_bit() 88 if (cpu_has(&boot_cpu_data, X86_FEATURE_ARCH_PERFMON)) in nmi_evntsel_msr_to_bit()
|
| D | feat_ctl.c | 120 if (cpu_has(c, X86_FEATURE_VMX) && IS_ENABLED(CONFIG_KVM_INTEL)) { in init_ia32_feat_ctl() 132 if (!cpu_has(c, X86_FEATURE_VMX)) in init_ia32_feat_ctl()
|
| D | rdrand.c | 36 if (!cpu_has(c, X86_FEATURE_RDRAND)) in x86_init_rdrand()
|
| D | match.c | 54 if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature)) in x86_match_cpu()
|
| /Linux-v5.10/arch/x86/kernel/cpu/mce/ |
| D | therm_throt.c | 416 if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) { in thermal_throttle_add_dev() 424 if (cpu_has(c, X86_FEATURE_PTS)) { in thermal_throttle_add_dev() 443 if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) { in thermal_throttle_add_dev() 631 if (!cpu_has(c, X86_FEATURE_ACPI) || !cpu_has(c, X86_FEATURE_ACC)) in intel_thermal_supported() 685 if (cpu_has(c, X86_FEATURE_TM2)) { in intel_init_thermal() 699 if (cpu_has(c, X86_FEATURE_PLN) && !int_pln_enable) in intel_init_thermal() 703 else if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) in intel_init_thermal() 711 if (cpu_has(c, X86_FEATURE_PTS)) { in intel_init_thermal() 713 if (cpu_has(c, X86_FEATURE_PLN) && !int_pln_enable) in intel_init_thermal() 718 else if (cpu_has(c, X86_FEATURE_PLN) && int_pln_enable) in intel_init_thermal()
|
| D | p5.c | 54 if (!cpu_has(c, X86_FEATURE_MCE)) in intel_p5_mcheck_init()
|
| D | core.c | 513 return cpu_has(c, X86_FEATURE_MCE) && cpu_has(c, X86_FEATURE_MCA); in mce_available() 1834 mce_flags.overflow_recov = !!cpu_has(c, X86_FEATURE_OVERFLOW_RECOV); in __mcheck_cpu_init_early() 1835 mce_flags.succor = !!cpu_has(c, X86_FEATURE_SUCCOR); in __mcheck_cpu_init_early() 1836 mce_flags.smca = !!cpu_has(c, X86_FEATURE_SMCA); in __mcheck_cpu_init_early()
|
| /Linux-v5.10/arch/x86/include/asm/ |
| D | acpi.h | 101 if (cpu_has(c, X86_FEATURE_EST)) in arch_acpi_set_pdc_bits() 104 if (cpu_has(c, X86_FEATURE_ACPI)) in arch_acpi_set_pdc_bits() 110 if (!cpu_has(c, X86_FEATURE_MWAIT)) in arch_acpi_set_pdc_bits()
|
| D | cpufeature.h | 117 #define cpu_has(c, bit) \ macro 137 #define boot_cpu_has(bit) cpu_has(&boot_cpu_data, bit) 225 #define cpu_has_bug(c, bit) cpu_has(c, (bit))
|
| /Linux-v5.10/arch/x86/kernel/cpu/mtrr/ |
| D | if.c | 415 if ((!cpu_has(c, X86_FEATURE_MTRR)) && in mtrr_if_init() 416 (!cpu_has(c, X86_FEATURE_K6_MTRR)) && in mtrr_if_init() 417 (!cpu_has(c, X86_FEATURE_CYRIX_ARR)) && in mtrr_if_init() 418 (!cpu_has(c, X86_FEATURE_CENTAUR_MCR))) in mtrr_if_init()
|
| /Linux-v5.10/drivers/cpufreq/ |
| D | speedstep-centrino.c | 353 !cpu_has(cpu, X86_FEATURE_EST)) in centrino_cpu_init() 356 if (cpu_has(cpu, X86_FEATURE_CONSTANT_TSC)) in centrino_cpu_init()
|
| D | p4-clockmod.c | 121 if (cpu_has(c, X86_FEATURE_EST)) in cpufreq_p4_get_frequency()
|
| D | acpi-cpufreq.c | 184 return cpu_has(cpu, X86_FEATURE_EST); in check_est_cpu() 191 return cpu_has(cpu, X86_FEATURE_HW_PSTATE); in check_amd_hwpstate_cpu() 668 if (cpu_has(c, X86_FEATURE_CONSTANT_TSC)) in acpi_cpufreq_cpu_init()
|
| D | longrun.c | 171 if (cpu_has(c, X86_FEATURE_LRTI)) { in longrun_determine_freqs()
|
| /Linux-v5.10/drivers/thermal/intel/ |
| D | x86_pkg_temp_thermal.c | 475 if (!cpu_has(c, X86_FEATURE_DTHERM) || !cpu_has(c, X86_FEATURE_PTS)) in pkg_thermal_cpu_online()
|
| /Linux-v5.10/arch/x86/kernel/cpu/resctrl/ |
| D | core.c | 970 if (!cpu_has(c, X86_FEATURE_CQM_LLC)) { in resctrl_cpu_detect() 980 if (cpu_has(c, X86_FEATURE_CQM_OCCUP_LLC) || in resctrl_cpu_detect() 981 cpu_has(c, X86_FEATURE_CQM_MBM_TOTAL) || in resctrl_cpu_detect() 982 cpu_has(c, X86_FEATURE_CQM_MBM_LOCAL)) { in resctrl_cpu_detect()
|
| /Linux-v5.10/arch/x86/kernel/ |
| D | msr.c | 214 if (!cpu_has(c, X86_FEATURE_MSR)) in msr_open()
|
| D | process.c | 782 if (!cpu_has(c, X86_FEATURE_MWAIT) || boot_cpu_has_bug(X86_BUG_MONITOR)) in prefer_mwait_c1_over_halt()
|
| /Linux-v5.10/drivers/hwmon/ |
| D | coretemp.c | 607 if (!cpu_has(c, X86_FEATURE_DTHERM)) in coretemp_cpu_online() 629 if (cpu_has(c, X86_FEATURE_PTS)) in coretemp_cpu_online()
|
| /Linux-v5.10/arch/x86/power/ |
| D | cpu.c | 270 if (cpu_has(c, X86_FEATURE_MSR_IA32_FEAT_CTL)) in __restore_processor_state()
|