Home
last modified time | relevance | path

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

/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.c56 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.c74 int smp_num_siblings = 1; variable
75 EXPORT_SYMBOL(smp_num_siblings);
744 smp_num_siblings = (ebx & 0xff0000) >> 16; in detect_ht_early()
745 if (smp_num_siblings == 1) in detect_ht_early()
759 index_msb = get_count_order(smp_num_siblings); in detect_ht()
762 smp_num_siblings = smp_num_siblings / c->x86_max_cores; in detect_ht()
764 index_msb = get_count_order(smp_num_siblings); in detect_ht()
Damd.c326 smp_num_siblings = ((cpuid_ebx(0x8000001e) >> 8) & 0xff) + 1; in amd_get_topology_early()
355 if (smp_num_siblings > 1) in amd_get_topology()
356 c->x86_max_cores /= smp_num_siblings; in amd_get_topology()
/arch/mips/include/asm/
Dsmp.h23 extern int smp_num_siblings;
Dmips-cm.h364 extern int smp_num_siblings; in mips_cm_max_vp_width()
381 return smp_num_siblings; in mips_cm_max_vp_width()
/arch/ia64/include/asm/
Dsmp.h63 extern int smp_num_siblings;
/arch/x86/kernel/
Ditmt.c202 smt_prio = prio * smp_num_siblings / i; in sched_set_itmt_core_prio()
Dsmpboot.c281 return smp_num_siblings > 1; in topology_smt_supported()
567 bool has_smt = smp_num_siblings > 1; in set_cpu_sibling_map()
Dprocess.c709 if (boot_option_idle_override == IDLE_POLL && smp_num_siblings > 1) in select_idle_routine()
/arch/mips/kernel/
Dsmp-cmp.c120 smp_num_siblings = nvpe; in cmp_smp_setup()
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-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()
/arch/x86/include/asm/
Dsmp.h21 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()
/arch/mips/netlogic/common/
Dsmp.c134 smp_num_siblings = nlm_threads_per_core; in nlm_prepare_cpus()
/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()
/arch/ia64/kernel/
Dsetup.c846 if (c->threads_per_core > smp_num_siblings) in identify_cpu()
847 smp_num_siblings = c->threads_per_core; in identify_cpu()
Dsmpboot.c122 int smp_num_siblings = 1; variable
/arch/x86/events/amd/
Duncore.c215 if (smp_num_siblings > 1) in amd_uncore_event_init()
/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()
/arch/x86/kernel/apic/
Dapic.c2346 if (smp_num_siblings == 1) in apic_id_is_primary_thread()
2349 mask = (1U << (fls(smp_num_siblings) - 1)) - 1; in apic_id_is_primary_thread()