Skip to contentSkip to conversation

MIPS: BMIPS: Add SMP support code for BMIPS43xx/BMIPS5000

PATCH In review Kevin Cernekee 2 participants 2 messages Nov 12, 2011 – Nov 14, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

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
index e7587ac..9c4a610 100644
@@ -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
index 1a96618..0198321 100644
@@ -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
#1 lore raw
Quoted 4 lines · Kevin Cernekee

Initial commit of BMIPS SMP support code. Smoke-tested on a variety of BMIPS4350, BMIPS4380, and BMIPS5000 platforms.

Thanks, I replaced the old patch with this one.

Ralf