// SPDX-License-Identifier: GPL-2.0 /* * Smp support for CHRP machines. * * Written by Cort Dougan (cort@cs.nmt.edu) borrowing a great * deal of code from the sparc and intel versions. * * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu> * */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/smp.h> #include <linux/interrupt.h> #include <linux/kernel_stat.h> #include <linux/delay.h> #include <linux/spinlock.h> #include <asm/ptrace.h> #include <linux/atomic.h> #include <asm/irq.h> #include <asm/page.h> #include <asm/pgtable.h> #include <asm/sections.h> #include <asm/io.h> #include <asm/prom.h> #include <asm/smp.h> #include <asm/machdep.h> #include <asm/mpic.h> #include <asm/rtas.h>
static int smp_chrp_kick_cpu(int nr) { *(unsigned long *)KERNELBASE = nr; asm volatile("dcbf 0,%0"::"r"(KERNELBASE):"memory"); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Paul Mackerras | 21 | 84.00% | 1 | 50.00% |
Michael Ellerman | 4 | 16.00% | 1 | 50.00% |
Total | 25 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Paul Mackerras | 12 | 100.00% | 2 | 100.00% |
Total | 12 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Paul Mackerras | 125 | 90.58% | 4 | 44.44% |
Nicholas Piggin | 5 | 3.62% | 1 | 11.11% |
Michael Ellerman | 4 | 2.90% | 1 | 11.11% |
Benjamin Herrenschmidt | 2 | 1.45% | 1 | 11.11% |
Greg Kroah-Hartman | 1 | 0.72% | 1 | 11.11% |
Arun Sharma | 1 | 0.72% | 1 | 11.11% |
Total | 138 | 100.00% | 9 | 100.00% |