/linux/arch/x86/kernel/cpu/ |
H A D | cpu.h | 17 void (*c_early_init)(struct cpuinfo_x86 *); 18 void (*c_bsp_init)(struct cpuinfo_x86 *); 19 void (*c_init)(struct cpuinfo_x86 *); 20 void (*c_identify)(struct cpuinfo_x86 *); 21 void (*c_detect_tlb)(struct cpuinfo_x86 *); 25 unsigned int (*legacy_cache_size)(struct cpuinfo_x86 *, 64 void intel_unlock_cpuid_leafs(struct cpuinfo_x86 *c); 68 static inline void intel_unlock_cpuid_leafs(struct cpuinfo_x86 *c) { } in intel_unlock_cpuid_leafs() 71 extern void init_spectral_chicken(struct cpuinfo_x86 *c); 73 extern void get_cpu_cap(struct cpuinfo_x86 *c); [all …]
|
H A D | amd.c | 88 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5() 107 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6() 201 static void init_amd_k7(struct cpuinfo_x86 *c) in init_amd_k7() 298 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 349 static void bsp_determine_snp(struct cpuinfo_x86 *c) in bsp_determine_snp() 371 static void bsp_init_amd(struct cpuinfo_x86 *c) in bsp_init_amd() 484 static void early_detect_mem_encrypt(struct cpuinfo_x86 *c) in early_detect_mem_encrypt() 536 static void early_init_amd(struct cpuinfo_x86 *c) in early_init_amd() 615 static void init_amd_k8(struct cpuinfo_x86 *c) in init_amd_k8() 664 static void init_amd_gh(struct cpuinfo_x86 *c) in init_amd_gh() [all …]
|
H A D | intel.c | 73 static void check_memory_type_self_snoop_errata(struct cpuinfo_x86 *c) in check_memory_type_self_snoop_errata() 101 static void probe_xeon_phi_r3mwait(struct cpuinfo_x86 *c) in probe_xeon_phi_r3mwait() 165 static bool bad_spectre_microcode(struct cpuinfo_x86 *c) in bad_spectre_microcode() 192 static void detect_tme_early(struct cpuinfo_x86 *c) in detect_tme_early() 221 void intel_unlock_cpuid_leafs(struct cpuinfo_x86 *c) in intel_unlock_cpuid_leafs() 237 static void early_init_intel(struct cpuinfo_x86 *c) in early_init_intel() 366 static void bsp_init_intel(struct cpuinfo_x86 *c) in bsp_init_intel() 391 static void intel_smp_check(struct cpuinfo_x86 *c) in intel_smp_check() 419 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 502 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() [all …]
|
H A D | zhaoxin.c | 20 static void init_zhaoxin_cap(struct cpuinfo_x86 *c) in init_zhaoxin_cap() 57 static void early_init_zhaoxin(struct cpuinfo_x86 *c) in early_init_zhaoxin() 70 static void init_zhaoxin(struct cpuinfo_x86 *c) in init_zhaoxin() 98 zhaoxin_size_cache(struct cpuinfo_x86 *c, unsigned int size) in zhaoxin_size_cache()
|
H A D | common.c | 76 DEFINE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 134 static void ppin_init(struct cpuinfo_x86 *c) in ppin_init() 175 static void default_init(struct cpuinfo_x86 *c) in default_init() 325 static void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 356 static inline void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 361 static __always_inline void setup_smep(struct cpuinfo_x86 *c) in setup_smep() 367 static __always_inline void setup_smap(struct cpuinfo_x86 *c) in setup_smap() 378 static __always_inline void setup_umip(struct cpuinfo_x86 *c) in setup_umip() 517 static __always_inline void setup_pku(struct cpuinfo_x86 *c) in setup_pku() 587 static __always_inline void setup_cet(struct cpuinfo_x86 *c) in setup_cet() [all …]
|
H A D | topology_common.c | 30 static unsigned int __maybe_unused parse_num_cores_legacy(struct cpuinfo_x86 *c) in parse_num_cores_legacy() 51 struct cpuinfo_x86 *c = tscan->c; in parse_legacy() 91 struct cpuinfo_x86 *c = tscan->c; in parse_topology() 145 struct cpuinfo_x86 *c = tscan->c; in topo_set_ids() 166 void cpu_parse_topology(struct cpuinfo_x86 *c) in cpu_parse_topology() 195 void __init cpu_init_topology(struct cpuinfo_x86 *c) in cpu_init_topology()
|
H A D | hygon.c | 44 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 94 static void bsp_init_hygon(struct cpuinfo_x86 *c) in bsp_init_hygon() 121 static void early_init_hygon(struct cpuinfo_x86 *c) in early_init_hygon() 167 static void init_hygon(struct cpuinfo_x86 *c) in init_hygon() 233 static void cpu_detect_tlb_hygon(struct cpuinfo_x86 *c) in cpu_detect_tlb_hygon()
|
H A D | topology.h | 6 struct cpuinfo_x86 *c; 18 void cpu_init_topology(struct cpuinfo_x86 *c); 19 void cpu_parse_topology(struct cpuinfo_x86 *c);
|
H A D | cyrix.c | 94 static void check_cx686_slop(struct cpuinfo_x86 *c) in check_cx686_slop() 173 static void early_init_cyrix(struct cpuinfo_x86 *c) in early_init_cyrix() 192 static void init_cyrix(struct cpuinfo_x86 *c) in init_cyrix() 364 static void init_nsc(struct cpuinfo_x86 *c) in init_nsc() 413 static void cyrix_identify(struct cpuinfo_x86 *c) in cyrix_identify()
|
H A D | centaur.c | 22 static void init_c3(struct cpuinfo_x86 *c) in init_c3() 94 static void early_init_centaur(struct cpuinfo_x86 *c) in early_init_centaur() 114 static void init_centaur(struct cpuinfo_x86 *c) in init_centaur() 218 centaur_size_cache(struct cpuinfo_x86 *c, unsigned int size) in centaur_size_cache()
|
H A D | proc.c | 19 static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c, in show_cpuinfo_core() 34 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() 52 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() 65 struct cpuinfo_x86 *c = v; in show_cpuinfo()
|
H A D | cpuid-deps.c | 89 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() 107 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() 140 void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in clear_cpu_cap()
|
H A D | transmeta.c | 10 static void early_init_transmeta(struct cpuinfo_x86 *c) in early_init_transmeta() 22 static void init_transmeta(struct cpuinfo_x86 *c) in init_transmeta()
|
/linux/arch/x86/kernel/ |
H A D | asm-offsets_32.c | 15 OFFSET(CPUINFO_x86, cpuinfo_x86, x86); in foo() 16 OFFSET(CPUINFO_x86_vendor, cpuinfo_x86, x86_vendor); in foo() 17 OFFSET(CPUINFO_x86_model, cpuinfo_x86, x86_model); in foo() 18 OFFSET(CPUINFO_x86_stepping, cpuinfo_x86, x86_stepping); in foo() 19 OFFSET(CPUINFO_cpuid_level, cpuinfo_x86, cpuid_level); in foo() 20 OFFSET(CPUINFO_x86_capability, cpuinfo_x86, x86_capability); in foo() 21 OFFSET(CPUINFO_x86_vendor_id, cpuinfo_x86, x86_vendor_id); in foo()
|
H A D | smpboot.c | 323 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_cpu_info() 338 topology_same_node(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in topology_same_node() 346 topology_sane(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o, const char *name) in topology_sane() 362 static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_smt() 389 static bool match_die(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_die() 400 static bool match_l2c(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_l2c() 420 static bool match_pkg(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_pkg() 448 static bool match_llc(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_llc() 557 struct cpuinfo_x86 *c = &cpu_data(cpu); in set_cpu_sibling_map() 558 struct cpuinfo_x86 *o; in set_cpu_sibling_map() [all …]
|
/linux/arch/x86/include/asm/ |
H A D | mce.h | 212 void mcheck_cpu_init(struct cpuinfo_x86 *c); 213 void mcheck_cpu_clear(struct cpuinfo_x86 *c); 218 static inline void mcheck_cpu_init(struct cpuinfo_x86 *c) {} in mcheck_cpu_init() 219 static inline void mcheck_cpu_clear(struct cpuinfo_x86 *c) {} in mcheck_cpu_clear() 232 void mce_intel_feature_init(struct cpuinfo_x86 *c); 233 void mce_intel_feature_clear(struct cpuinfo_x86 *c); 239 static inline void mce_intel_feature_init(struct cpuinfo_x86 *c) { } in mce_intel_feature_init() 240 static inline void mce_intel_feature_clear(struct cpuinfo_x86 *c) { } in mce_intel_feature_clear() 247 int mce_available(struct cpuinfo_x86 *c); 347 void mce_amd_feature_init(struct cpuinfo_x86 *c); [all …]
|
H A D | cpu.h | 24 int mwait_usable(const struct cpuinfo_x86 *); 30 extern void __init sld_setup(struct cpuinfo_x86 *c); 36 static inline void __init sld_setup(struct cpuinfo_x86 *c) {} in sld_setup() 55 void init_ia32_feat_ctl(struct cpuinfo_x86 *c); 57 static inline void init_ia32_feat_ctl(struct cpuinfo_x86 *c) {} in init_ia32_feat_ctl()
|
H A D | processor.h | 110 struct cpuinfo_x86 { struct 195 extern struct cpuinfo_x86 boot_cpu_data; argument 196 extern struct cpuinfo_x86 new_cpu_data; 201 DECLARE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 208 extern void cpu_detect(struct cpuinfo_x86 *c); 216 extern void identify_secondary_cpu(struct cpuinfo_x86 *); 217 extern void print_cpu_info(struct cpuinfo_x86 *); 218 void print_cpu_msr(struct cpuinfo_x86 *); 723 void microcode_check(struct cpuinfo_x86 *prev_info); 724 void store_cpu_caps(struct cpuinfo_x86 *info);
|
H A D | thermal.h | 7 void intel_init_thermal(struct cpuinfo_x86 *c); 12 static inline void intel_init_thermal(struct cpuinfo_x86 *c) { } in intel_init_thermal()
|
H A D | x86_init.h | 10 struct cpuinfo_x86; 197 void (*fixup_cpu_id)(struct cpuinfo_x86 *c, int node);
|
H A D | resctrl.h | 181 void resctrl_cpu_detect(struct cpuinfo_x86 *c); 186 static inline void resctrl_cpu_detect(struct cpuinfo_x86 *c) {} in resctrl_cpu_detect()
|
/linux/arch/x86/kernel/cpu/mce/ |
H A D | internal.h | 302 void intel_p5_mcheck_init(struct cpuinfo_x86 *c); 303 void winchip_mcheck_init(struct cpuinfo_x86 *c); 308 static __always_inline void intel_p5_mcheck_init(struct cpuinfo_x86 *c) {} in intel_p5_mcheck_init() 309 static __always_inline void winchip_mcheck_init(struct cpuinfo_x86 *c) {} in winchip_mcheck_init()
|
H A D | intel.c | 454 static void intel_imc_init(struct cpuinfo_x86 *c) in intel_imc_init() 470 void mce_intel_feature_init(struct cpuinfo_x86 *c) in mce_intel_feature_init() 477 void mce_intel_feature_clear(struct cpuinfo_x86 *c) in mce_intel_feature_clear() 484 struct cpuinfo_x86 *c = &boot_cpu_data; in intel_filter_mce()
|
/linux/arch/x86/kernel/acpi/ |
H A D | cstate.c | 32 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_power_init_bm_check() 172 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_ffh_cstate_probe() 220 struct cpuinfo_x86 *c = &boot_cpu_data; in ffh_cstate_init()
|
/linux/drivers/cpufreq/ |
H A D | speedstep-centrino.c | 71 static int centrino_verify_cpu_id(const struct cpuinfo_x86 *c, 236 struct cpuinfo_x86 *cpu = &cpu_data(policy->cpu); in centrino_cpu_init_table() 276 static int centrino_verify_cpu_id(const struct cpuinfo_x86 *c, in centrino_verify_cpu_id() 347 struct cpuinfo_x86 *cpu = &cpu_data(policy->cpu); in centrino_cpu_init()
|