Lines Matching +full:pm +full:- +full:alive

1 // SPDX-License-Identifier: GPL-2.0-or-later
6 ** Copyright (C) 1999 David Mosberger-Tang <[email protected]>
7 ** Copyright (C) 2001,2004 Grant Grundler <grundler@parisc-linux.org>
13 ** -grant (1/12/2001)
110 /* REVISIT : does PM *know* this CPU isn't available? */ in halt_processor()
130 ops = p->pending_ipi; in ipi_interrupt()
131 p->pending_ipi = 0; in ipi_interrupt()
171 smp_debug(100, KERN_DEBUG "CPU%d is alive!\n", this_cpu); 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()
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()
390 goto alive ; in smp_boot_one_cpu()
396 return -1; in smp_boot_one_cpu()
398 alive: in smp_boot_one_cpu()
400 smp_debug(100, KERN_DEBUG "SMP: CPU:%d came alive after %ld _us\n", in smp_boot_one_cpu()
440 return -EIO; in __cpu_up()
442 return cpu_online(cpu) ? 0 : -EIO; in __cpu_up()
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 -