Home
last modified time | relevance | path

Searched refs:cpu_thread_in_core (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/85xx/
Dsmp.c184 book3e_start_thread(cpu_thread_in_core(cpu), inia); in wake_hw_thread()
283 booting_thread_hwid = cpu_thread_in_core(nr); in smp_85xx_kick_cpu()
392 if (cpu == crashing_cpu && cpu_thread_in_core(cpu) != 0) { in mpc85xx_smp_kexec_cpu_down()
401 cpu_thread_in_core(cpu) == 0 && in mpc85xx_smp_kexec_cpu_down()
402 cpu_thread_in_core(sibling) != 0) { in mpc85xx_smp_kexec_cpu_down()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dsubcore.c180 if (cpu_thread_in_core(cpu) != 0) { in unsplit_core()
217 if (cpu_thread_in_core(cpu) != 0) { in split_core()
275 int tid = cpu_thread_in_core(cpu); in update_subcore_sibling_mask()
Didle.c108 if (cpu_thread_in_core(cpu) == 0) { in pnv_save_sprs_for_deep_states()
229 int thread_nr = cpu_thread_in_core(cpu); in atomic_start_thread_idle()
239 int thread_nr = cpu_thread_in_core(cpu); in atomic_stop_thread_idle()
259 unsigned long thread = 1UL << cpu_thread_in_core(cpu); in atomic_unlock_and_stop_thread_idle()
317 unsigned long thread = 1UL << cpu_thread_in_core(cpu); in power7_idle_insn()
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_hv_ras.c143 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_enter_guest()
154 thread_id = cpu_thread_in_core(local_paca->paca_index); in kvmppc_subcore_exit_guest()
Dbook3s_hv_builtin.c251 msg |= cpu_thread_in_core(cpu); in kvmhv_rm_send_ipi()
Dbook3s_hv.c206 msg |= cpu_thread_in_core(cpu); in kvmppc_ipi_thread()
2985 if (!kvmppc_host_rm_ops_hv || cpu_thread_in_core(cpu)) in kvmppc_clear_host_core()
3006 if (!kvmppc_host_rm_ops_hv || cpu_thread_in_core(cpu)) in kvmppc_set_host_core()
/Linux-v5.4/arch/powerpc/kernel/
Ddbell.c49 u32 tag = cpu_thread_in_core(cpu); in doorbell_core_ipi()
Dsmp.c122 if (!smt_enabled_at_boot && cpu_thread_in_core(nr) != 0) in smp_generic_cpu_bootable()
125 && cpu_thread_in_core(nr) >= smt_enabled_at_boot) in smp_generic_cpu_bootable()
/Linux-v5.4/arch/powerpc/include/asm/
Dcputhreads.h82 static inline int cpu_thread_in_core(int cpu) in cpu_thread_in_core() function
/Linux-v5.4/arch/powerpc/platforms/cell/
Dsmp.c150 if (cpu_thread_in_core(i) == 0) in smp_init_cell()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dsmp.c273 if (cpu_thread_in_core(i) == 0) in smp_init_pseries()
/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_rcpm.c137 int thread = cpu_thread_in_core(cpu); in qoriq_disable_thread()