MIPS: CPS: Initialize EVA before bringing up VPEs from secondary cores
authorMarkos Chandras <markos.chandras@imgtec.com>
Mon, 21 Jul 2014 13:35:56 +0000 (14:35 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Aug 2014 16:24:41 +0000 (18:24 +0200)
commit6521d9a436a62e83ce57d6be6e5484e1098c1380
treea5330080f04abd92d755dcb2a33d637498e340e6
parentca4d24f7954f3746742ba350c2276ff777f21173
MIPS: CPS: Initialize EVA before bringing up VPEs from secondary cores

The CPS code is doing several memory loads when configuring the VPEs
from secondary cores, so the segmentation control registers must be
initialized in time otherwise the kernel will crash with strange
TLB exceptions.

Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Patchwork: http://patchwork.linux-mips.org/patch/7424/
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/mips/kernel/cps-vec.S