MIPS: OCTEON: Add SMP support for OCTEON cn78xx et al.
authorDavid Daney <david.daney@cavium.com>
Tue, 9 Feb 2016 19:00:12 +0000 (11:00 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:41 +0000 (14:01 +0200)
commitc6d2b22eb5211e96e932428bc1183c6ad57d5e54
tree9f0fba6e78f38b3a4bcc02be2690818374b301b0
parentce210d35bb93c2c5c8857878123275ecdcfd7018
MIPS: OCTEON: Add SMP support for OCTEON cn78xx et al.

OCTEON chips with the CIU3 interrupt controller use a different IPI
mechanism that previous models.

Add plat_smp_ops for the cn78xx and probing code to choose between the
two types of ops.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12499/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c
arch/mips/cavium-octeon/smp.c
arch/mips/include/asm/octeon/octeon.h