]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Add multi-processor (SMP) support
authorHuacai Chen <chenhuacai@loongson.cn>
Tue, 31 May 2022 10:04:12 +0000 (18:04 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 3 Jun 2022 12:09:29 +0000 (20:09 +0800)
commitc7e3a52156103676ffba170e17154e9ac3f3e73a
treec1e6640316d5d8748bea046b71d2260b81cbe314
parent1df39736b4deacf47929eb96379ff122e6148f59
LoongArch: Add multi-processor (SMP) support

LoongArch-based procesors have 4, 8 or 16 cores per package. This patch
adds multi-processor (SMP) support for LoongArch.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
27 files changed:
arch/loongarch/Kconfig
arch/loongarch/include/asm/atomic.h
arch/loongarch/include/asm/barrier.h
arch/loongarch/include/asm/cmpxchg.h
arch/loongarch/include/asm/futex.h
arch/loongarch/include/asm/hardirq.h
arch/loongarch/include/asm/irq.h
arch/loongarch/include/asm/percpu.h
arch/loongarch/include/asm/pgtable.h
arch/loongarch/include/asm/smp.h [new file with mode: 0644]
arch/loongarch/include/asm/stackframe.h
arch/loongarch/include/asm/tlbflush.h
arch/loongarch/include/asm/topology.h
arch/loongarch/kernel/Makefile
arch/loongarch/kernel/acpi.c
arch/loongarch/kernel/asm-offsets.c
arch/loongarch/kernel/head.S
arch/loongarch/kernel/irq.c
arch/loongarch/kernel/proc.c
arch/loongarch/kernel/process.c
arch/loongarch/kernel/reset.c
arch/loongarch/kernel/setup.c
arch/loongarch/kernel/smp.c [new file with mode: 0644]
arch/loongarch/kernel/topology.c
arch/loongarch/kernel/vmlinux.lds.S
arch/loongarch/mm/tlbex.S
include/linux/cpuhotplug.h