Home
last modified time | relevance | path

Searched refs:cpu_first_thread_sibling (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/arch/powerpc/include/asm/
H A Dcputhreads.h58 static inline int cpu_first_thread_sibling(int cpu) in cpu_first_thread_sibling() function
79 return cpu_first_thread_sibling(cpu); in cpu_first_tlb_thread_sibling()
H A Dparavirt.h142 first_cpu = cpu_first_thread_sibling(raw_smp_processor_id()); in vcpu_is_preempted()
150 if (cpu_first_thread_sibling(cpu) == first_cpu) in vcpu_is_preempted()
H A Dtopology.h153 return cpu == cpu_first_thread_sibling(cpu); in topology_is_primary_thread()
164 int i, first_cpu = cpu_first_thread_sibling(cpu); in topology_is_core_online()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Didle.c152 if (cpu_first_thread_sibling(cpu) != cpu) in pnv_fastsleep_workaround_apply()
228 int first = cpu_first_thread_sibling(cpu); in atomic_start_thread_idle()
238 int first = cpu_first_thread_sibling(cpu); in atomic_stop_thread_idle()
248 int first = cpu_first_thread_sibling(cpu); in atomic_lock_thread_idle()
258 int first = cpu_first_thread_sibling(cpu); in atomic_unlock_and_stop_thread_idle()
281 int first = cpu_first_thread_sibling(cpu); in atomic_unlock_thread_idle()
317 int first = cpu_first_thread_sibling(cpu); in power7_idle_insn()
611 int first = cpu_first_thread_sibling(cpu); in power9_idle_stop()
896 int first = cpu_first_thread_sibling(cpu); in power10_idle_stop()
1438 if (cpu == cpu_first_thread_sibling(cpu)) in pnv_init_idle_states()
H A Dopal-imc.c207 if (cpu_first_thread_sibling(cpu) != cpu) in disable_core_pmu_counters()
/openbmc/linux/arch/powerpc/mm/nohash/
H A Dmmu_context.c128 for (i = cpu_first_thread_sibling(cpu); in steal_context_smp()
298 for (i = cpu_first_thread_sibling(cpu); in switch_mmu_context()
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dsmp.c293 primary = cpu_first_thread_sibling(nr); in smp_85xx_kick_cpu()
408 disable_cpu = cpu_first_thread_sibling(cpu); in mpc85xx_smp_kexec_cpu_down()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_builtin.c212 cpu_first_thread_sibling(cpu) == in kvmhv_rm_send_ipi()
213 cpu_first_thread_sibling(raw_smp_processor_id())) { in kvmhv_rm_send_ipi()
H A Dbook3s_hv_rm_xics.c720 pcpu = cpu_first_thread_sibling(pcpu); in ics_rm_eoi()
H A Dbook3s_hv.c202 if (cpu_first_thread_sibling(cpu) == in kvmppc_ipi_thread()
203 cpu_first_thread_sibling(smp_processor_id())) { in kvmppc_ipi_thread()
/openbmc/linux/arch/powerpc/kernel/
H A Dsetup_64.c98 int first = cpu_first_thread_sibling(cpu); in setup_tlb_core_data()
105 if (cpu_first_thread_sibling(boot_cpuid) == first) in setup_tlb_core_data()
H A Dsmp.c932 int first_thread = cpu_first_thread_sibling(cpu); in update_mask_from_threadgroup()
1559 int first_thread = cpu_first_thread_sibling(cpu); in add_cpu_to_masks()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_rcpm.c149 primary = cpu_first_thread_sibling(cpu); in rcpm_v2_cpu_die()
/openbmc/linux/arch/powerpc/mm/
H A Dnuma.c707 int fcpu = cpu_first_thread_sibling(lcpu); in numa_setup_cpu()
773 base = cpu_first_thread_sibling(cpu); in verify_cpu_node_mapping()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dlpar.c304 (cpu_first_thread_sibling(disp->last_disp_cpu) == in update_vcpu_disp_stat()
305 cpu_first_thread_sibling(disp_cpu))) in update_vcpu_disp_stat()
/openbmc/linux/drivers/cpufreq/
H A Dpowernv-cpufreq.c834 base = cpu_first_thread_sibling(policy->cpu); in powernv_cpufreq_cpu_init()