/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | cpu.h | 12 void (*c_early_init)(struct cpuinfo_x86 *); 13 void (*c_bsp_init)(struct cpuinfo_x86 *); 14 void (*c_init)(struct cpuinfo_x86 *); 15 void (*c_identify)(struct cpuinfo_x86 *); 16 void (*c_detect_tlb)(struct cpuinfo_x86 *); 20 unsigned int (*legacy_cache_size)(struct cpuinfo_x86 *, 63 extern void init_spectral_chicken(struct cpuinfo_x86 *c); 65 extern void get_cpu_cap(struct cpuinfo_x86 *c); 66 extern void get_cpu_address_sizes(struct cpuinfo_x86 *c); 67 extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c); [all …]
|
D | amd.c | 34 static bool cpu_has_amd_erratum(struct cpuinfo_x86 *cpu, const int *erratum); 99 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5() 118 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6() 212 static void init_amd_k7(struct cpuinfo_x86 *c) in init_amd_k7() 314 static void legacy_fixup_core_id(struct cpuinfo_x86 *c) in legacy_fixup_core_id() 331 static void amd_get_topology(struct cpuinfo_x86 *c) in amd_get_topology() 384 static void amd_detect_cmp(struct cpuinfo_x86 *c) in amd_detect_cmp() 398 static void amd_detect_ppin(struct cpuinfo_x86 *c) in amd_detect_ppin() 439 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 490 static void early_init_amd_mc(struct cpuinfo_x86 *c) in early_init_amd_mc() [all …]
|
D | hygon.c | 54 static void hygon_get_topology_early(struct cpuinfo_x86 *c) in hygon_get_topology_early() 66 static void hygon_get_topology(struct cpuinfo_x86 *c) in hygon_get_topology() 114 static void hygon_detect_cmp(struct cpuinfo_x86 *c) in hygon_detect_cmp() 128 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 178 static void early_init_hygon_mc(struct cpuinfo_x86 *c) in early_init_hygon_mc() 204 static void bsp_init_hygon(struct cpuinfo_x86 *c) in bsp_init_hygon() 260 static void early_init_hygon(struct cpuinfo_x86 *c) in early_init_hygon() 306 static void init_hygon(struct cpuinfo_x86 *c) in init_hygon() 364 static void cpu_detect_tlb_hygon(struct cpuinfo_x86 *c) in cpu_detect_tlb_hygon()
|
D | intel.c | 67 static void check_memory_type_self_snoop_errata(struct cpuinfo_x86 *c) in check_memory_type_self_snoop_errata() 95 static void probe_xeon_phi_r3mwait(struct cpuinfo_x86 *c) in probe_xeon_phi_r3mwait() 159 static bool bad_spectre_microcode(struct cpuinfo_x86 *c) in bad_spectre_microcode() 181 static void early_init_intel(struct cpuinfo_x86 *c) in early_init_intel() 334 static void bsp_init_intel(struct cpuinfo_x86 *c) in bsp_init_intel() 359 static void intel_smp_check(struct cpuinfo_x86 *c) in intel_smp_check() 387 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 470 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 475 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 512 static void detect_tme(struct cpuinfo_x86 *c) in detect_tme() [all …]
|
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() 84 static void init_zhaoxin(struct cpuinfo_x86 *c) in init_zhaoxin() 116 zhaoxin_size_cache(struct cpuinfo_x86 *c, unsigned int size) in zhaoxin_size_cache()
|
D | common.c | 90 static void default_init(struct cpuinfo_x86 *c) in default_init() 256 static void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 287 static inline void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 299 static __always_inline void setup_smep(struct cpuinfo_x86 *c) in setup_smep() 312 static __always_inline void setup_smap(struct cpuinfo_x86 *c) in setup_smap() 329 static __always_inline void setup_umip(struct cpuinfo_x86 *c) in setup_umip() 468 static __always_inline void setup_pku(struct cpuinfo_x86 *c) in setup_pku() 532 static void filter_cpuid_features(struct cpuinfo_x86 *c, bool warn) in filter_cpuid_features() 569 static const char *table_lookup_model(struct cpuinfo_x86 *c) in table_lookup_model() 647 static void get_model_name(struct cpuinfo_x86 *c) in get_model_name() [all …]
|
D | cyrix.c | 93 static void check_cx686_slop(struct cpuinfo_x86 *c) in check_cx686_slop() 172 static void early_init_cyrix(struct cpuinfo_x86 *c) in early_init_cyrix() 191 static void init_cyrix(struct cpuinfo_x86 *c) in init_cyrix() 363 static void init_nsc(struct cpuinfo_x86 *c) in init_nsc() 412 static void cyrix_identify(struct cpuinfo_x86 *c) in cyrix_identify()
|
D | proc.c | 17 static void show_cpuinfo_core(struct seq_file *m, struct cpuinfo_x86 *c, in show_cpuinfo_core() 32 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() 50 static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c) in show_cpuinfo_misc() 63 struct cpuinfo_x86 *c = v; in show_cpuinfo()
|
D | cpuid-deps.c | 77 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() 95 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() 125 void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in clear_cpu_cap()
|
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() 222 centaur_size_cache(struct cpuinfo_x86 *c, unsigned int size) in centaur_size_cache()
|
D | topology.c | 49 static int detect_extended_topology_leaf(struct cpuinfo_x86 *c) in detect_extended_topology_leaf() 65 int detect_extended_topology_early(struct cpuinfo_x86 *c) in detect_extended_topology_early() 92 int detect_extended_topology(struct cpuinfo_x86 *c) in detect_extended_topology()
|
D | match.c | 40 struct cpuinfo_x86 *c = &boot_cpu_data; in x86_match_cpu() 65 struct cpuinfo_x86 *c = &boot_cpu_data; in x86_match_cpu_with_stepping()
|
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()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | mce.h | 204 void mcheck_cpu_init(struct cpuinfo_x86 *c); 205 void mcheck_cpu_clear(struct cpuinfo_x86 *c); 209 static inline void mcheck_cpu_init(struct cpuinfo_x86 *c) {} in mcheck_cpu_init() 210 static inline void mcheck_cpu_clear(struct cpuinfo_x86 *c) {} in mcheck_cpu_clear() 215 void intel_p5_mcheck_init(struct cpuinfo_x86 *c); 216 void winchip_mcheck_init(struct cpuinfo_x86 *c); 219 static inline void intel_p5_mcheck_init(struct cpuinfo_x86 *c) {} in intel_p5_mcheck_init() 220 static inline void winchip_mcheck_init(struct cpuinfo_x86 *c) {} in winchip_mcheck_init() 232 void mce_intel_feature_init(struct cpuinfo_x86 *c); 233 void mce_intel_feature_clear(struct cpuinfo_x86 *c); [all …]
|
D | cpu.h | 38 int mwait_usable(const struct cpuinfo_x86 *); 44 extern void __init cpu_set_core_cap_bits(struct cpuinfo_x86 *c); 49 static inline void __init cpu_set_core_cap_bits(struct cpuinfo_x86 *c) {} in cpu_set_core_cap_bits() 62 void init_ia32_feat_ctl(struct cpuinfo_x86 *c); 64 static inline void init_ia32_feat_ctl(struct cpuinfo_x86 *c) {} in init_ia32_feat_ctl()
|
D | processor.h | 81 struct cpuinfo_x86 { struct 172 extern struct cpuinfo_x86 boot_cpu_data; 173 extern struct cpuinfo_x86 new_cpu_data; 179 DECLARE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 190 extern void cpu_detect(struct cpuinfo_x86 *c); 199 extern void identify_secondary_cpu(struct cpuinfo_x86 *); 200 extern void print_cpu_info(struct cpuinfo_x86 *); 201 void print_cpu_msr(struct cpuinfo_x86 *); 665 extern void select_idle_routine(const struct cpuinfo_x86 *c);
|
D | cacheinfo.h | 5 void cacheinfo_amd_init_llc_id(struct cpuinfo_x86 *c, int cpu); 6 void cacheinfo_hygon_init_llc_id(struct cpuinfo_x86 *c, int cpu);
|
D | resctrl.h | 87 void resctrl_cpu_detect(struct cpuinfo_x86 *c); 92 static inline void resctrl_cpu_detect(struct cpuinfo_x86 *c) {} in resctrl_cpu_detect()
|
D | archrandom.h | 93 extern void x86_init_rdrand(struct cpuinfo_x86 *c); 97 static inline void x86_init_rdrand(struct cpuinfo_x86 *c) { } in x86_init_rdrand()
|
D | acpi.h | 90 struct cpuinfo_x86 *c = &cpu_data(0); in arch_has_acpi_pdc() 97 struct cpuinfo_x86 *c = &cpu_data(0); in arch_acpi_set_pdc_bits()
|
D | x86_init.h | 12 struct cpuinfo_x86; 167 void (*fixup_cpu_id)(struct cpuinfo_x86 *c, int node);
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
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()
|
D | smpboot.c | 100 DEFINE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 296 struct cpuinfo_x86 *c = &cpu_data(cpu); in topology_phys_to_logical_pkg() 315 struct cpuinfo_x86 *c = &cpu_data(cpu); in topology_phys_to_logical_die() 375 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_boot_cpu_info() 390 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_cpu_info() 405 topology_same_node(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in topology_same_node() 413 topology_sane(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o, const char *name) in topology_sane() 429 static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_smt() 455 static bool match_die(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_die() 468 static bool match_pkg(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_pkg() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/ |
D | cstate.c | 32 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_power_init_bm_check() 149 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_ffh_cstate_probe() 197 struct cpuinfo_x86 *c = &boot_cpu_data; in ffh_cstate_init()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | intel.c | 473 static void intel_ppin_init(struct cpuinfo_x86 *c) in intel_ppin_init() 514 void mce_intel_feature_init(struct cpuinfo_x86 *c) in mce_intel_feature_init() 522 void mce_intel_feature_clear(struct cpuinfo_x86 *c) in mce_intel_feature_clear() 529 struct cpuinfo_x86 *c = &boot_cpu_data; in intel_filter_mce()
|