/linux-6.6.21/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 | 87 static bool cpu_has_amd_erratum(struct cpuinfo_x86 *cpu, const int *erratum) in cpu_has_amd_erratum() 174 static void init_amd_k5(struct cpuinfo_x86 *c) in init_amd_k5() 193 static void init_amd_k6(struct cpuinfo_x86 *c) in init_amd_k6() 287 static void init_amd_k7(struct cpuinfo_x86 *c) in init_amd_k7() 389 static void legacy_fixup_core_id(struct cpuinfo_x86 *c) in legacy_fixup_core_id() 406 static void amd_get_topology(struct cpuinfo_x86 *c) in amd_get_topology() 459 static void amd_detect_cmp(struct cpuinfo_x86 *c) in amd_detect_cmp() 479 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 530 static void early_init_amd_mc(struct cpuinfo_x86 *c) in early_init_amd_mc() 556 static void bsp_init_amd(struct cpuinfo_x86 *c) in bsp_init_amd() [all …]
|
D | hygon.c | 52 static void hygon_get_topology_early(struct cpuinfo_x86 *c) in hygon_get_topology_early() 64 static void hygon_get_topology(struct cpuinfo_x86 *c) in hygon_get_topology() 116 static void hygon_detect_cmp(struct cpuinfo_x86 *c) in hygon_detect_cmp() 130 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() 180 static void early_init_hygon_mc(struct cpuinfo_x86 *c) in early_init_hygon_mc() 206 static void bsp_init_hygon(struct cpuinfo_x86 *c) in bsp_init_hygon() 245 static void early_init_hygon(struct cpuinfo_x86 *c) in early_init_hygon() 295 static void init_hygon(struct cpuinfo_x86 *c) in init_hygon() 356 static void cpu_detect_tlb_hygon(struct cpuinfo_x86 *c) in cpu_detect_tlb_hygon()
|
D | common.c | 126 static void ppin_init(struct cpuinfo_x86 *c) in ppin_init() 167 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() 518 static __always_inline void setup_pku(struct cpuinfo_x86 *c) in setup_pku() 588 static __always_inline void setup_cet(struct cpuinfo_x86 *c) in setup_cet() 647 static void filter_cpuid_features(struct cpuinfo_x86 *c, bool warn) in filter_cpuid_features() [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 | 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() 207 static void detect_tme_early(struct cpuinfo_x86 *c) in detect_tme_early() 271 static void early_init_intel(struct cpuinfo_x86 *c) in early_init_intel() 431 static void bsp_init_intel(struct cpuinfo_x86 *c) in bsp_init_intel() 456 static void intel_smp_check(struct cpuinfo_x86 *c) in intel_smp_check() 484 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 567 static void intel_workarounds(struct cpuinfo_x86 *c) in intel_workarounds() 572 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node() [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 | 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()
|
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 | cpuid-deps.c | 88 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() 106 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() 136 void clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in clear_cpu_cap()
|
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.6.21/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 | 104 DEFINE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 340 struct cpuinfo_x86 *c = &cpu_data(cpu); in topology_phys_to_logical_pkg() 361 struct cpuinfo_x86 *c = &cpu_data(cpu); in topology_phys_to_logical_die() 420 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_boot_cpu_info() 435 struct cpuinfo_x86 *c = &cpu_data(id); in smp_store_cpu_info() 450 topology_same_node(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in topology_same_node() 458 topology_sane(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o, const char *name) in topology_sane() 474 static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_smt() 500 static bool match_die(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_die() 508 static bool match_l2c(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o) in match_l2c() [all …]
|
/linux-6.6.21/arch/x86/include/asm/ |
D | mce.h | 210 void mcheck_cpu_init(struct cpuinfo_x86 *c); 211 void mcheck_cpu_clear(struct cpuinfo_x86 *c); 216 static inline void mcheck_cpu_init(struct cpuinfo_x86 *c) {} in mcheck_cpu_init() 217 static inline void mcheck_cpu_clear(struct cpuinfo_x86 *c) {} in mcheck_cpu_clear() 230 void mce_intel_feature_init(struct cpuinfo_x86 *c); 231 void mce_intel_feature_clear(struct cpuinfo_x86 *c); 237 static inline void mce_intel_feature_init(struct cpuinfo_x86 *c) { } in mce_intel_feature_init() 238 static inline void mce_intel_feature_clear(struct cpuinfo_x86 *c) { } in mce_intel_feature_clear() 245 int mce_available(struct cpuinfo_x86 *c); 342 void mce_amd_feature_init(struct cpuinfo_x86 *c); [all …]
|
D | cpu.h | 36 int mwait_usable(const struct cpuinfo_x86 *); 42 extern void __init sld_setup(struct cpuinfo_x86 *c); 48 static inline void __init sld_setup(struct cpuinfo_x86 *c) {} in sld_setup() 67 void init_ia32_feat_ctl(struct cpuinfo_x86 *c); 69 static inline void init_ia32_feat_ctl(struct cpuinfo_x86 *c) {} in init_ia32_feat_ctl()
|
D | processor.h | 83 struct cpuinfo_x86 { struct 168 extern struct cpuinfo_x86 boot_cpu_data; argument 169 extern struct cpuinfo_x86 new_cpu_data; 175 DECLARE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); 186 extern void cpu_detect(struct cpuinfo_x86 *c); 194 extern void identify_secondary_cpu(struct cpuinfo_x86 *); 195 extern void print_cpu_info(struct cpuinfo_x86 *); 196 void print_cpu_msr(struct cpuinfo_x86 *); 543 extern void select_idle_routine(const struct cpuinfo_x86 *c); 707 void microcode_check(struct cpuinfo_x86 *prev_info); [all …]
|
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 | cacheinfo.h | 10 void cacheinfo_amd_init_llc_id(struct cpuinfo_x86 *c, int cpu); 11 void cacheinfo_hygon_init_llc_id(struct cpuinfo_x86 *c, int cpu);
|
D | resctrl.h | 97 void resctrl_cpu_detect(struct cpuinfo_x86 *c); 102 static inline void resctrl_cpu_detect(struct cpuinfo_x86 *c) {} in resctrl_cpu_detect()
|
/linux-6.6.21/arch/x86/kernel/cpu/mce/ |
D | internal.h | 244 void intel_p5_mcheck_init(struct cpuinfo_x86 *c); 245 void winchip_mcheck_init(struct cpuinfo_x86 *c); 250 static __always_inline void intel_p5_mcheck_init(struct cpuinfo_x86 *c) {} in intel_p5_mcheck_init() 251 static __always_inline void winchip_mcheck_init(struct cpuinfo_x86 *c) {} in winchip_mcheck_init()
|
D | intel.c | 494 static void intel_imc_init(struct cpuinfo_x86 *c) in intel_imc_init() 510 void mce_intel_feature_init(struct cpuinfo_x86 *c) in mce_intel_feature_init() 517 void mce_intel_feature_clear(struct cpuinfo_x86 *c) in mce_intel_feature_clear() 524 struct cpuinfo_x86 *c = &boot_cpu_data; in intel_filter_mce()
|
/linux-6.6.21/arch/x86/kernel/acpi/ |
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-6.6.21/Documentation/arch/x86/ |
D | topology.rst | 50 - cpuinfo_x86.x86_max_cores: 54 - cpuinfo_x86.x86_max_dies: 58 - cpuinfo_x86.cpu_die_id: 62 - cpuinfo_x86.phys_proc_id: 70 - cpuinfo_x86.logical_proc_id: 108 threads_per_package = cpuinfo_x86.x86_max_cores * smp_num_siblings
|