]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: Add Whirlwind (BMIPS5200) initialization code
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 4 Feb 2016 02:14:50 +0000 (18:14 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2016 10:00:01 +0000 (12:00 +0200)
commitc1ffb62fe33a98b181671c3399b2b2a6938f850f
tree63490d6444a3240daa23cdbe3b4dde7d117fa64e
parent56dc714f6050e3c8f0eb27c2de5fdb2667184384
MIPS: BMIPS: Add Whirlwind (BMIPS5200) initialization code

Import bmips_5xxx_init.S from the stblinux-3.3 tree, and to make sure that this
would work nicely with a BMIPS multiplatform kernel (with BMIPS330, BMIPS43XX
and BMIPS5000 enabled), update soft_reset to check for the BMIPS5200 processor
id (PRID_IMP_BMIPS5200) and execute bmips_5xxx_init for these processors to
bring them online.

Tested on 7425, 7429 and 7435 with CPU hotplug. 7435 SMP still needs some
additional changes in the L1 interrupt area to work properly with interrupt
affinity.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: john@phrozen.org
Cc: cernekee@gmail.com
Cc: jon.fraser@broadcom.com
Cc: jaedon.shin@gmail.com
Cc: dragan.stancevic@gmail.com
Cc: jogo@openwrt.org
Patchwork: https://patchwork.linux-mips.org/patch/12377/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/Makefile
arch/mips/kernel/bmips_5xxx_init.S [new file with mode: 0644]
arch/mips/kernel/bmips_vec.S