MIPS: BMIPS: Add SMP support code for BMIPS43xx/BMIPS5000
Subsystems (2)
PATCH v4 8/8 MIPS: BMIPS: Add SMP support code for BMIPS43xx/BMIPS5000
Initial commit of BMIPS SMP support code. Smoke-tested on a variety of BMIPS4350, BMIPS4380, and BMIPS5000 platforms.
Signed-off-by Kevin Cernekee <[email protected]>
---
V4:
Change "printk(KERN_INFO " to "pr_info("
Include <linux/kernel.h> so pr_info gets defined
arch/mips/Kconfig | 3 + arch/mips/kernel/Makefile | 1 + arch/mips/kernel/bmips_vec.S | 255 +++++++++++++++++++++++ arch/mips/kernel/smp-bmips.c | 458 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 717 insertions(+), 0 deletions(-) create mode 100644 arch/mips/kernel/bmips_vec.S create mode 100644 arch/mips/kernel/smp-bmips.c
arch/mips/Kconfig +3 -0
@@ -1986,6 +1986,9 @@ config CPU_HAS_SMARTMIPS config CPU_HAS_WB bool +config XKS01 + bool + # # Vectored interrupt mode is an R2 feature #
arch/mips/kernel/Makefile +1 -0
@@ -58,6 +58,7 @@ obj-$(CONFIG_CPU_XLR) += r4k_fpu.o r4k_switch.o obj-$(CONFIG_SMP) += smp.o obj-$(CONFIG_SMP_UP) += smp-up.o +obj-$(CONFIG_CPU_BMIPS) += smp-bmips.o bmips_vec.o obj-$(CONFIG_MIPS_MT) += mips-mt.o obj-$(CONFIG_MIPS_MT_FPAFF) += mips-mt-fpaff.o
arch/mips/kernel/bmips_vec.S new file +255 -0
255 lines not on this page · raw message
arch/mips/kernel/smp-bmips.c new file +458 -0
458 lines not on this page · raw message
Signature · 1 line
1.7.6.3
Quoted 4 lines · Kevin Cernekee
Initial commit of BMIPS SMP support code. Smoke-tested on a variety of BMIPS4350, BMIPS4380, and BMIPS5000 platforms.
Signed-off-by Kevin Cernekee <[email protected]>
Thanks, I replaced the old patch with this one.
Ralf