MIPS: smp-cps: Add support for CPU hotplug of MIPSr6 processors
authorMatt Redfearn <matt.redfearn@imgtec.com>
Thu, 7 Jul 2016 07:50:39 +0000 (08:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jul 2016 10:19:57 +0000 (12:19 +0200)
commit0d2808f338c7cb0ccf6b087dd7be0e4fa0c865e0
treeed205e7a0a2b12467033b700aa7f1da5f148a308
parent9736c6152ef6fbb688c05c75b250304787fc9ff7
MIPS: smp-cps: Add support for CPU hotplug of MIPSr6 processors

Introduce support for hotplug of Virtual Processors in MIPSr6 systems.
The method is simpler than the VPE parallel from the now-deprecated MT
ASE, it can now simply write the VP_STOP register with the mask of VPs
to halt, and use the VP_RUNNING register to determine when the VP has
halted.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13752/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-cps.c