/linux-6.1.9/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 *, 64 extern void init_spectral_chicken(struct cpuinfo_x86 *c); 66 extern void get_cpu_cap(struct cpuinfo_x86 *c); 67 extern void get_cpu_address_sizes(struct cpuinfo_x86 *c); 68 extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c); [all …]
|
D | amd.c | 33 static bool cpu_has_amd_erratum(struct cpuinfo_x86 *cpu, const int *erratum); 98 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5() 117 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6() 211 static void init_amd_k7(struct cpuinfo_x86 *c) in init_amd_k7() 313 static void legacy_fixup_core_id(struct cpuinfo_x86 *c) in legacy_fixup_core_id() 330 static void amd_get_topology(struct cpuinfo_x86 *c) in amd_get_topology() 383 static void amd_detect_cmp(struct cpuinfo_x86 *c) in amd_detect_cmp() 403 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 454 static void early_init_amd_mc(struct cpuinfo_x86 *c) in early_init_amd_mc() 480 static void bsp_init_amd(struct cpuinfo_x86 *c) in bsp_init_amd() [all …]
|
D | hygon.c | 51 static void hygon_get_topology_early(struct cpuinfo_x86 *c) in hygon_get_topology_early() 63 static void hygon_get_topology(struct cpuinfo_x86 *c) in hygon_get_topology() 111 static void hygon_detect_cmp(struct cpuinfo_x86 *c) in hygon_detect_cmp() 125 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 175 static void early_init_hygon_mc(struct cpuinfo_x86 *c) in early_init_hygon_mc() 201 static void bsp_init_hygon(struct cpuinfo_x86 *c) in bsp_init_hygon() 240 static void early_init_hygon(struct cpuinfo_x86 *c) in early_init_hygon() 290 static void init_hygon(struct cpuinfo_x86 *c) in init_hygon() 348 static void cpu_detect_tlb_hygon(struct cpuinfo_x86 *c) in cpu_detect_tlb_hygon()
|
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 | 129 static void ppin_init(struct cpuinfo_x86 *c) in ppin_init() 179 static void default_init(struct cpuinfo_x86 *c) in default_init() 337 static void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 368 static inline void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number() 373 static __always_inline void setup_smep(struct cpuinfo_x86 *c) in setup_smep() 379 static __always_inline void setup_smap(struct cpuinfo_x86 *c) in setup_smap() 390 static __always_inline void setup_umip(struct cpuinfo_x86 *c) in setup_umip() 530 static __always_inline void setup_pku(struct cpuinfo_x86 *c) in setup_pku() 599 static __always_inline void setup_cet(struct cpuinfo_x86 *c) in setup_cet() 641 static void filter_cpuid_features(struct cpuinfo_x86 *c, bool warn) in filter_cpuid_features() [all …]
|
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() 219 static void early_init_intel(struct cpuinfo_x86 *c) in early_init_intel() 372 static void bsp_init_intel(struct cpuinfo_x86 *c) in bsp_init_intel() 397 static void intel_smp_check(struct cpuinfo_x86 *c) in intel_smp_check() 425 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 508 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 513 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 550 static void detect_tme(struct cpuinfo_x86 *c) in detect_tme() [all …]
|
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()
|
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 | 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 | cpuid-deps.c | 84 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() 102 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() 132 void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in clear_cpu_cap()
|
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()
|
/linux-6.1.9/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 | 99 DEFINE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 292 struct cpuinfo_x86 *c = &cpu_data(cpu); in topology_phys_to_logical_pkg() 311 struct cpuinfo_x86 *c = &cpu_data(cpu); in topology_phys_to_logical_die() 371 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_boot_cpu_info() 386 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_cpu_info() 401 topology_same_node(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in topology_same_node() 409 topology_sane(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o, const char *name) in topology_sane() 425 static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_smt() 451 static bool match_die(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_die() 459 static bool match_l2c(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_l2c() [all …]
|
/linux-6.1.9/arch/x86/include/asm/ |
D | mce.h | 207 void mcheck_cpu_init(struct cpuinfo_x86 *c); 208 void mcheck_cpu_clear(struct cpuinfo_x86 *c); 213 static inline void mcheck_cpu_init(struct cpuinfo_x86 *c) {} in mcheck_cpu_init() 214 static inline void mcheck_cpu_clear(struct cpuinfo_x86 *c) {} in mcheck_cpu_clear() 227 void mce_intel_feature_init(struct cpuinfo_x86 *c); 228 void mce_intel_feature_clear(struct cpuinfo_x86 *c); 234 static inline void mce_intel_feature_init(struct cpuinfo_x86 *c) { } in mce_intel_feature_init() 235 static inline void mce_intel_feature_clear(struct cpuinfo_x86 *c) { } in mce_intel_feature_clear() 242 int mce_available(struct cpuinfo_x86 *c); 339 void mce_amd_feature_init(struct cpuinfo_x86 *c); [all …]
|
D | cpu.h | 41 int mwait_usable(const struct cpuinfo_x86 *); 47 extern void __init sld_setup(struct cpuinfo_x86 *c); 53 static inline void __init sld_setup(struct cpuinfo_x86 *c) {} in sld_setup() 72 void init_ia32_feat_ctl(struct cpuinfo_x86 *c); 74 static inline void init_ia32_feat_ctl(struct cpuinfo_x86 *c) {} in init_ia32_feat_ctl()
|
D | processor.h | 81 struct cpuinfo_x86 { struct 177 extern struct cpuinfo_x86 boot_cpu_data; 178 extern struct cpuinfo_x86 new_cpu_data; 184 DECLARE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 195 extern void cpu_detect(struct cpuinfo_x86 *c); 204 extern void identify_secondary_cpu(struct cpuinfo_x86 *); 205 extern void print_cpu_info(struct cpuinfo_x86 *); 206 void print_cpu_msr(struct cpuinfo_x86 *); 655 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 | 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()
|
D | resctrl.h | 99 void resctrl_cpu_detect(struct cpuinfo_x86 *c); 104 static inline void resctrl_cpu_detect(struct cpuinfo_x86 *c) {} in resctrl_cpu_detect()
|
D | acpi.h | 98 struct cpuinfo_x86 *c = &cpu_data(0); in arch_has_acpi_pdc() 105 struct cpuinfo_x86 *c = &cpu_data(0); in arch_acpi_set_pdc_bits()
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | internal.h | 197 void intel_p5_mcheck_init(struct cpuinfo_x86 *c); 198 void winchip_mcheck_init(struct cpuinfo_x86 *c); 203 static inline void intel_p5_mcheck_init(struct cpuinfo_x86 *c) {} in intel_p5_mcheck_init() 204 static inline void winchip_mcheck_init(struct cpuinfo_x86 *c) {} in winchip_mcheck_init()
|
D | intel.c | 477 static void intel_imc_init(struct cpuinfo_x86 *c) in intel_imc_init() 493 void mce_intel_feature_init(struct cpuinfo_x86 *c) in mce_intel_feature_init() 500 void mce_intel_feature_clear(struct cpuinfo_x86 *c) in mce_intel_feature_clear() 507 struct cpuinfo_x86 *c = &boot_cpu_data; in intel_filter_mce()
|
/linux-6.1.9/arch/x86/kernel/acpi/ |
D | cstate.c | 32 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_power_init_bm_check() 164 struct cpuinfo_x86 *c = &cpu_data(cpu); in acpi_processor_ffh_cstate_probe() 212 struct cpuinfo_x86 *c = &boot_cpu_data; in ffh_cstate_init()
|