MIPS: Netlogic: Merge some of XLR/XLP wakup code
authorJayachandran C <jayachandranc@netlogicmicro.com>
Wed, 16 Nov 2011 00:21:29 +0000 (00:21 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:04:56 +0000 (22:04 +0000)
commit66d29985fab8207b1b2c03ac34a2c294c5b47a30
treef73145e09c53606716266577eef5e14262129ed9
parent8da24631e60438631112e6fdd198ef62416ff14a
MIPS: Netlogic: Merge some of XLR/XLP wakup code

Create a common NMI and reset handler in smpboot.S and use this for
both XLR and XLP.  In the earlier code, the woken up CPUs would
busy wait until released, switch this to wakeup by NMI.

The initial wakeup code or XLR and XLP are differ since they are
started from different bootloaders (XLP from u-boot and XLR from
netlogic bootloader). But in both platforms the woken up CPUs wait
and are released by sending an NMI.

Add support for starting XLR and XLP in 1/2/4 threads per core.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2970/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
14 files changed:
arch/mips/include/asm/netlogic/common.h
arch/mips/include/asm/netlogic/xlp-hal/xlp.h
arch/mips/include/asm/netlogic/xlr/xlr.h
arch/mips/netlogic/common/Makefile
arch/mips/netlogic/common/smp.c
arch/mips/netlogic/common/smpboot.S [new file with mode: 0644]
arch/mips/netlogic/xlp/Makefile
arch/mips/netlogic/xlp/setup.c
arch/mips/netlogic/xlp/smpboot.S [deleted file]
arch/mips/netlogic/xlp/wakeup.c
arch/mips/netlogic/xlr/Makefile
arch/mips/netlogic/xlr/setup.c
arch/mips/netlogic/xlr/smpboot.S [deleted file]
arch/mips/netlogic/xlr/wakeup.c
This page took 0.027035 seconds and 5 git commands to generate.