Lines Matching +full:inter +full:- +full:processor

1 // SPDX-License-Identifier: GPL-2.0-or-later
6 ** Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com>
7 ** Copyright (C) 2001,2004 Grant Grundler <grundler@parisc-linux.org>
13 ** -grant (1/12/2001)
44 #include <asm/processor.h>
79 /********** SMP inter processor interrupt and communication routines */
130 ops = p->pending_ipi; in ipi_interrupt()
131 p->pending_ipi = 0; in ipi_interrupt()
204 p->pending_ipi |= 1 << op; in ipi_send()
205 gsc_writel(IPI_IRQ - CPU_IRQ_BASE, p->hpa); in ipi_send()
295 current->active_mm = &init_mm; in smp_cpu_init()
296 BUG_ON(current->mm); in smp_cpu_init()
306 * Do what start_kernel() and main() do for boot strap processor (aka monarch)
313 WARN_ON(((unsigned long)(PAGE0->mem_pdc_hi) << 32 in smp_callin()
314 | PAGE0->mem_pdc) != pdce_proc); in smp_callin()
346 if (desc && desc->kstat_irqs) in smp_boot_one_cpu()
347 *per_cpu_ptr(desc->kstat_irqs, cpuid) = (struct irqstat) { }; in smp_boot_one_cpu()
367 printk(KERN_INFO "Releasing cpu %d now, hpa=%lx\n", cpuid, p->hpa); in smp_boot_one_cpu()
372 ** From the PA-RISC 2.0 Firmware Architecture Reference Specification: in smp_boot_one_cpu()
378 gsc_writel(TIMER_IRQ - CPU_IRQ_BASE, p->hpa); in smp_boot_one_cpu()
396 return -1; in smp_boot_one_cpu()
440 return -EIO; in __cpu_up()
442 return cpu_online(cpu) ? 0 : -EIO; in __cpu_up()
446 * __cpu_disable runs on the processor to be shutdown.
464 pr_info("CPU %d is now promoted to time-keeper master\n", time_keeper_id); in __cpu_disable()
490 * called on the thread which is asking for a CPU to be shutdown -