]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit442e6fdbd4d8c090a47ee8ce66c027deab247aec
treeed205e7a0a2b12467033b700aa7f1da5f148a308
parent1c52c634fb72eaaa9bd2dddabc202e1dda349726
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