Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/include/asm/
Dcputhreads.h24 extern int threads_per_subcore;
29 #define threads_per_subcore 1 macro
55 return cpu & (threads_per_subcore - 1); in cpu_thread_in_subcore()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dsubcore.c282 int sibling_mask_first_cpu = (1 << threads_per_subcore) - 1; in update_subcore_sibling_mask()
286 int offset = (tid / threads_per_subcore) * threads_per_subcore; in update_subcore_sibling_mask()
326 threads_per_subcore = threads_per_core / subcores_per_core; in cpu_update_split_mode()
/linux-6.1.9/arch/powerpc/kernel/
Dsetup-common.c393 int threads_per_core, threads_per_subcore, threads_shift __read_mostly; variable
396 EXPORT_SYMBOL_GPL(threads_per_subcore);
405 threads_per_subcore = tpc; in cpu_init_thread_core_maps()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_ras.c199 return threads_per_subcore; in kvmppc_cur_subcore_size()
Dbook3s_hv.c2706 return threads_per_subcore; in threads_per_vcore()
3018 if (smt_mode > threads_per_subcore) in kvmhv_set_smt_mode()
3309 while (++thr < threads_per_subcore) in on_primary_thread()
3314 for (thr = 1; thr < threads_per_subcore; ++thr) { in on_primary_thread()
3421 if (n_subcores > 1 && threads_per_subcore < MAX_SMT_THREADS) in subcore_config_ok()
3732 ((vc->num_threads > threads_per_subcore) || !on_primary_thread())) { in kvmppc_run_core()
3781 subcore_size = threads_per_subcore; in kvmppc_run_core()
3851 if (split == 1 && threads_per_subcore == MAX_SMT_THREADS && in kvmppc_run_core()
3902 for (thr = 1; thr < threads_per_subcore; ++thr) in kvmppc_run_core()
5505 kvm->arch.smt_mode = threads_per_subcore; in kvmppc_core_init_vm_hv()
Dpowerpc.c611 r = threads_per_subcore; in kvm_vm_ioctl_check_extension()
618 r = ((threads_per_subcore << 1) - 1); in kvm_vm_ioctl_check_extension()