Home
last modified time | relevance | path

Searched refs:smp_num_siblings (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dtopology.c82 smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology_early()
110 core_level_siblings = smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology()
151 c->x86_max_cores = (core_level_siblings / smp_num_siblings); in detect_extended_topology()
Dhygon.c57 smp_num_siblings = ((cpuid_ebx(0x8000001e) >> 8) & 0xff) + 1; in hygon_get_topology_early()
81 if (smp_num_siblings > 1) in hygon_get_topology()
82 c->x86_max_cores /= smp_num_siblings; in hygon_get_topology()
Dcommon.c75 int smp_num_siblings = 1; variable
76 EXPORT_SYMBOL(smp_num_siblings);
768 smp_num_siblings = (ebx & 0xff0000) >> 16; in detect_ht_early()
769 if (smp_num_siblings == 1) in detect_ht_early()
783 index_msb = get_count_order(smp_num_siblings); in detect_ht()
786 smp_num_siblings = smp_num_siblings / c->x86_max_cores; in detect_ht()
788 index_msb = get_count_order(smp_num_siblings); in detect_ht()
Damd.c350 if (smp_num_siblings > 1) in amd_get_topology()
351 c->x86_max_cores /= smp_num_siblings; in amd_get_topology()
748 smp_num_siblings = ((cpuid_ebx(0x8000001e) >> 8) & 0xff) + 1; in early_init_amd()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dsmp.h57 extern int smp_num_siblings;
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dsmp.h23 extern int smp_num_siblings;
Dmips-cm.h365 extern int smp_num_siblings; in mips_cm_max_vp_width()
381 return smp_num_siblings; in mips_cm_max_vp_width()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dsmp.c47 int smp_num_siblings = 1; variable
48 EXPORT_SYMBOL(smp_num_siblings);
87 if (smp_num_siblings > 1) { in set_cpu_sibling_map()
Dsmp-cmp.c120 smp_num_siblings = nvpe; in cmp_smp_setup()
Dsmp-mt.c207 smp_num_siblings = nvpe; in vsmp_smp_setup()
Dsmp-cps.c71 smp_num_siblings = core_vpes; in cps_smp_setup()
Dpm-cps.c586 uasm_i_andi(&p, v0, t1, (1 << fls(smp_num_siblings)) - 1); in cps_gen_entry_code()
/kernel/linux/linux-5.10/arch/x86/kernel/
Ditmt.c201 smt_prio = prio * smp_num_siblings / i; in sched_set_itmt_core_prio()
Dsmpboot.c282 return smp_num_siblings > 1; in topology_smt_supported()
571 bool has_smt = smp_num_siblings > 1; in set_cpu_sibling_map()
Dprocess.c817 if (boot_option_idle_override == IDLE_POLL && smp_num_siblings > 1) in select_idle_routine()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsmp.h11 extern int smp_num_siblings;
Dperf_event_p4.h184 return smp_num_siblings > 1; in p4_ht_active()
192 if (smp_num_siblings == 2) in p4_ht_thread()
/kernel/linux/linux-5.10/arch/mips/netlogic/common/
Dsmp.c134 smp_num_siblings = nlm_threads_per_core; in nlm_prepare_cpus()
/kernel/linux/linux-5.10/arch/x86/oprofile/
Dop_model_p4.c46 if (smp_num_siblings == 2) { in setup_num_counters()
56 return smp_num_siblings == 2 ? 2 : 1; in addr_increment()
Dnmi_int.c569 switch (smp_num_siblings) { in p4_init()
/kernel/linux/linux-5.10/Documentation/x86/
Dtopology.rst103 - smp_num_siblings:
108 threads_per_package = cpuinfo_x86.x86_max_cores * smp_num_siblings
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsetup.c844 if (c->threads_per_core > smp_num_siblings) in identify_cpu()
845 smp_num_siblings = c->threads_per_core; in identify_cpu()
Dsmpboot.c120 int smp_num_siblings = 1; variable
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dinject.c417 cores_per_node = (c->x86_max_cores * smp_num_siblings) / amd_get_nodes_per_socket(); in get_nbc_for_node()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dapic.c2334 if (smp_num_siblings == 1) in apic_id_is_primary_thread()
2337 mask = (1U << (fls(smp_num_siblings) - 1)) - 1; in apic_id_is_primary_thread()