Home
last modified time | relevance | path

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

12345678910>>...29

/openbmc/linux/arch/riscv/kernel/
H A Dsmp.c66 set_cpu_online(smp_processor_id(), false); in ipi_stop()
110 send_ipi_single(smp_processor_id(), IPI_IRQ_WORK); in arch_irq_work_raise()
129 ipi_cpu_crash_stop(smp_processor_id(), get_irq_regs()); in handle_IPI()
140 pr_warn("CPU%d: unhandled IPI%d\n", smp_processor_id(), ipi); in handle_IPI()
255 cpumask_clear_cpu(smp_processor_id(), &mask); in smp_send_stop()
279 unsigned int this_cpu_online = cpu_online(smp_processor_id()); in num_other_online_cpus()
307 cpumask_clear_cpu(smp_processor_id(), &mask); in crash_smp_send_stop()
/openbmc/linux/arch/ia64/kernel/
H A Dsmp.c78 set_cpu_online(smp_processor_id(), false); in stop_this_cpu()
159 if (i != smp_processor_id()) in send_IPI_allbutself()
196 send_IPI_single(smp_processor_id(), op); in send_IPI_self()
210 self_cpu = smp_processor_id(); in kdump_smp_send_init()
248 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb()
262 mycpu = smp_processor_id(); in smp_flush_tlb_cpumask()
/openbmc/linux/arch/arm64/kernel/
H A Dsmp.c200 unsigned int cpu = smp_processor_id(); in secondary_start_kernel()
294 unsigned int cpu = smp_processor_id(); in __cpu_disable()
361 unsigned int cpu = smp_processor_id(); in cpu_die()
398 int cpu = smp_processor_id(); in cpu_die_early()
725 this_cpu = smp_processor_id(); in smp_prepare_cpus()
746 if (cpu == smp_processor_id()) in smp_prepare_cpus()
818 set_cpu_online(smp_processor_id(), false); in local_cpu_stop()
864 unsigned int cpu = smp_processor_id(); in do_handle_IPI()
976 ipi_setup(smp_processor_id()); in set_smp_ipi_range()
1010 cpumask_clear_cpu(smp_processor_id(), &mask); in smp_send_stop()
[all …]
/openbmc/linux/arch/parisc/lib/
H A Ddelay.c36 cpu = smp_processor_id(); in __cr16_delay()
58 if (unlikely(cpu != smp_processor_id())) { in __cr16_delay()
60 cpu = smp_processor_id(); in __cr16_delay()
/openbmc/linux/arch/mips/kernel/
H A Dcevt-bcm1480.c33 unsigned int cpu = smp_processor_id(); in sibyte_set_periodic()
47 unsigned int cpu = smp_processor_id(); in sibyte_shutdown()
59 unsigned int cpu = smp_processor_id(); in sibyte_next_event()
74 unsigned int cpu = smp_processor_id(); in sibyte_counter_handler()
98 unsigned int cpu = smp_processor_id(); in sb1480_clockevent_init()
H A Dcevt-sb1250.c33 cfg = IOADDR(A_SCD_TIMER_REGISTER(smp_processor_id(), R_SCD_TIMER_CFG)); in sibyte_shutdown()
43 unsigned int cpu = smp_processor_id(); in sibyte_set_periodic()
58 unsigned int cpu = smp_processor_id(); in sibyte_next_event()
73 unsigned int cpu = smp_processor_id(); in sibyte_counter_handler()
97 unsigned int cpu = smp_processor_id(); in sb1250_clockevent_init()
H A Dmachine_kexec.c117 int cpu = smp_processor_id(); in kexec_shutdown_secondary()
179 set_cpu_online(smp_processor_id(), true); in kexec_reboot()
185 if (smp_processor_id() > 0) { in kexec_reboot()
245 set_cpu_online(smp_processor_id(), false); in machine_kexec()
/openbmc/linux/drivers/irqchip/
H A Dirq-bcm2836.c47 smp_processor_id()); in bcm2836_arm_irqchip_mask_timer_irq()
54 smp_processor_id()); in bcm2836_arm_irqchip_unmask_timer_irq()
65 writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_CLR); in bcm2836_arm_irqchip_mask_pmu_irq()
70 writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_SET); in bcm2836_arm_irqchip_unmask_pmu_irq()
139 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_handle_irq()
156 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_handle_ipi()
172 int cpu = smp_processor_id(); in bcm2836_arm_irqchip_ipi_ack()
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Dp5.c33 smp_processor_id(), loaddr, lotype); in pentium_machine_check()
37 smp_processor_id()); in pentium_machine_check()
65 smp_processor_id()); in intel_p5_mcheck_init()
/openbmc/linux/arch/sh/kernel/
H A Dsmp.c58 unsigned int cpu = smp_processor_id(); in smp_prepare_cpus()
71 unsigned int cpu = smp_processor_id(); in smp_prepare_boot_cpu()
124 unsigned int cpu = smp_processor_id(); in __cpu_disable()
175 unsigned int cpu = smp_processor_id(); in start_secondary()
318 smp_processor_id(), __func__, msg); in smp_message_recv()
367 if (smp_processor_id() != i) in flush_tlb_mm()
404 if (smp_processor_id() != i) in flush_tlb_range()
447 if (smp_processor_id() != i) in flush_tlb_page()
/openbmc/linux/arch/arm/kernel/
H A Dsmp.c254 unsigned int cpu = smp_processor_id(); in __cpu_disable()
320 unsigned int cpu = smp_processor_id(); in arch_cpu_idle_dead()
432 cpu = smp_processor_id(); in secondary_start_kernel()
500 set_my_cpu_offset(per_cpu_offset(smp_processor_id())); in smp_prepare_boot_cpu()
509 smp_store_cpu_info(smp_processor_id()); in smp_prepare_cpus()
582 smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK); in arch_irq_work_raise()
635 unsigned int cpu = smp_processor_id(); in do_handle_IPI()
744 ipi_setup(smp_processor_id()); in set_smp_ipi_range()
758 cpumask_clear_cpu(smp_processor_id(), &mask); in smp_send_stop()
780 smp_processor_id()); in panic_smp_self_stop()
[all …]
H A Dmachine_kexec.c84 smp_processor_id()); in machine_crash_nonpanic_core()
85 crash_save_cpu(&regs, smp_processor_id()); in machine_crash_nonpanic_core()
88 set_cpu_online(smp_processor_id(), false); in machine_crash_nonpanic_core()
158 crash_save_cpu(regs, smp_processor_id()); in machine_crash_shutdown()
/openbmc/linux/arch/loongarch/kernel/
H A Dmachine_kexec.c114 set_cpu_online(smp_processor_id(), true); in kexec_reboot()
127 if (smp_processor_id() > 0) { in kexec_reboot()
143 int cpu = smp_processor_id(); in kexec_shutdown_secondary()
160 int cpu = smp_processor_id(); in crash_shutdown_secondary()
246 crashing_cpu = smp_processor_id(); in machine_crash_shutdown()
285 set_cpu_online(smp_processor_id(), false); in machine_kexec()
/openbmc/linux/arch/powerpc/sysdev/xics/
H A Dicp-native.c50 int cpu = smp_processor_id(); in icp_native_get_xirr()
63 int cpu = smp_processor_id(); in icp_native_set_xirr()
70 int cpu = smp_processor_id(); in icp_native_set_cppr()
97 int cpu = smp_processor_id(); in icp_native_teardown_cpu()
182 int cpu = smp_processor_id(); in icp_native_flush_interrupt()
202 int cpu = smp_processor_id(); in icp_native_ipi_action()
/openbmc/linux/arch/x86/kernel/
H A Dtsc_sync.c77 smp_processor_id(), adj->adjusted, curval); in tsc_verify_tsc_adjust()
171 tsc_sanitize_first_cpu(cur, bootval, smp_processor_id(), bootcpu); in tsc_store_and_check_tsc_adjust()
183 unsigned int refcpu, cpu = smp_processor_id(); in tsc_store_and_check_tsc_adjust()
211 tsc_sanitize_first_cpu(cur, bootval, smp_processor_id(), in tsc_store_and_check_tsc_adjust()
392 smp_processor_id(), cpu); in check_tsc_sync_source()
399 smp_processor_id(), cpu); in check_tsc_sync_source()
434 unsigned int cpu = smp_processor_id(); in check_tsc_sync_target()
/openbmc/linux/arch/powerpc/include/asm/
H A Dtlb.h54 topology_sibling_cpumask(smp_processor_id())); in mm_is_core_local()
62 return cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm)); in mm_is_thread_local()
68 cpumask_of(smp_processor_id())); in mm_is_thread_local()
/openbmc/linux/arch/arm/mm/
H A Dproc-v7-bugs.c69 int cpu = smp_processor_id(); in spectre_v2_install_workaround()
104 smp_processor_id(), spectre_v2_method); in spectre_v2_install_workaround()
202 smp_processor_id()); in spectre_bhb_install_workaround()
213 smp_processor_id(), spectre_bhb_method_name(method)); in spectre_bhb_install_workaround()
264 pr_err("CPU%u: %s", smp_processor_id(), msg); in cpu_v7_check_auxcr_set()
/openbmc/linux/kernel/time/
H A Dtick-common.c109 int cpu = smp_processor_id(); in tick_handle_periodic()
265 int cpu = smp_processor_id(); in tick_install_replacement()
316 if (!tick_check_percpu(curdev, newdev, smp_processor_id())) in tick_check_replacement()
332 cpu = smp_processor_id(); in tick_check_new_device()
395 if (tick_do_timer_cpu == smp_processor_id()) in tick_handover_do_timer()
516 smp_processor_id(), true); in tick_freeze()
545 smp_processor_id(), false); in tick_unfreeze()
/openbmc/linux/arch/powerpc/kexec/
H A Dcrash.c70 if (crash_shutdown_cpu == smp_processor_id()) in handle_fault()
82 int cpu = smp_processor_id(); in crash_ipi_callback()
170 crash_shutdown_cpu = smp_processor_id(); in crash_kexec_prepare_cpus()
288 crashing_cpu = smp_processor_id(); in crash_kexec_prepare()
375 crash_shutdown_cpu = smp_processor_id(); in default_machine_crash_shutdown()
/openbmc/linux/arch/sh/mm/
H A Dtlbflush_32.c17 unsigned int cpu = smp_processor_id(); in local_flush_tlb_page()
43 unsigned int cpu = smp_processor_id(); in local_flush_tlb_range()
80 unsigned int cpu = smp_processor_id(); in local_flush_tlb_kernel_range()
108 unsigned int cpu = smp_processor_id(); in local_flush_tlb_mm()
/openbmc/linux/kernel/sched/
H A Disolation.c45 cpu = sched_numa_find_closest(housekeeping.cpumasks[type], smp_processor_id()); in housekeeping_any_cpu()
52 return smp_processor_id(); in housekeeping_any_cpu()
135 __cpumask_set_cpu(smp_processor_id(), housekeeping_staging); in housekeeping_setup()
136 __cpumask_clear_cpu(smp_processor_id(), non_housekeeping_mask); in housekeeping_setup()
139 "using boot CPU:%d\n", smp_processor_id()); in housekeeping_setup()
/openbmc/linux/arch/arc/include/asm/
H A Dmmu_context.h61 const unsigned int cpu = smp_processor_id(); in get_new_mmu_context()
125 asid_mm(mm, smp_processor_id()) = MM_CTXT_NO_ASID; in destroy_context()
135 const int cpu = smp_processor_id(); in switch_mm()
/openbmc/linux/arch/mips/include/asm/
H A Dmmu_context.h49 write_c0_xcontext((unsigned long) smp_processor_id() << \
68 write_c0_context((unsigned long) smp_processor_id() << \
158 unsigned int cpu = smp_processor_id(); in switch_mm()
196 cpu = smp_processor_id(); in drop_mmu_context()
/openbmc/linux/kernel/
H A Dwatchdog_perf.c108 watchdog_hardlockup_check(smp_processor_id(), regs); in watchdog_overflow_callback()
145 WARN_ON_ONCE(cpu != smp_processor_id()); in watchdog_hardlockup_enable()
167 WARN_ON_ONCE(cpu != smp_processor_id()); in watchdog_hardlockup_disable()
173 cpumask_set_cpu(smp_processor_id(), &dead_events_mask); in watchdog_hardlockup_disable()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Dras.c54 int cpu = smp_processor_id(); in DEFINE_INTERRUPT_HANDLER()
63 int cpu = smp_processor_id(); in DEFINE_INTERRUPT_HANDLER()
75 int cpu = smp_processor_id(); in DEFINE_INTERRUPT_HANDLER()
87 int cpu = smp_processor_id(); in cbe_machine_check_handler()
284 if (sysreset_hack && (smp_processor_id() == 0)) { in cbe_sysreset_hack()

12345678910>>...29