Home
last modified time | relevance | path

Searched refs:threads_per_subcore (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/arch/powerpc/include/asm/
Dcputhreads.h21 extern int threads_per_subcore;
26 #define threads_per_subcore 1 macro
84 return cpu & (threads_per_subcore - 1); in cpu_thread_in_subcore()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dsubcore.c275 int sibling_mask_first_cpu = (1 << threads_per_subcore) - 1; in update_subcore_sibling_mask()
279 int offset = (tid / threads_per_subcore) * threads_per_subcore; in update_subcore_sibling_mask()
319 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()
/linux-4.4.14/arch/powerpc/kernel/
Dsetup-common.c394 int threads_per_core, threads_per_subcore, threads_shift; variable
397 EXPORT_SYMBOL_GPL(threads_per_subcore);
406 threads_per_subcore = tpc; in cpu_init_thread_core_maps()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv.c1453 vcore->first_vcpuid = core * threads_per_subcore; in kvmppc_vcore_create()
1616 core = id / threads_per_subcore; in kvmppc_core_vcpu_create_hv()
1842 for (i = 1; i < threads_per_subcore; ++i) in kvmppc_wait_for_nap()
1845 if (i == threads_per_subcore) { in kvmppc_wait_for_nap()
1852 for (i = 1; i < threads_per_subcore; ++i) in kvmppc_wait_for_nap()
1872 while (++thr < threads_per_subcore) in on_primary_thread()
1877 for (thr = 1; thr < threads_per_subcore; ++thr) { in on_primary_thread()
1918 if (vc->num_threads < threads_per_subcore) { in kvmppc_vcore_preempt()
1979 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()
2310 ((vc->num_threads > threads_per_subcore) || !on_primary_thread())) { in kvmppc_run_core()
[all …]
Dpowerpc.c525 r = threads_per_subcore; in kvm_vm_ioctl_check_extension()