MIPS: CPS: Copy EVA configuration when starting secondary VPs.
authorMatt Redfearn <matt.redfearn@imgtec.com>
Wed, 18 May 2016 16:12:36 +0000 (17:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 28 May 2016 10:35:05 +0000 (12:35 +0200)
commit63a8802f4fb60963d3f91b072f4d0424330ec0d4
tree5003df7cbee637eed4e4f2302ffe97c917967bc2
parent5c33f8b2e54c519c42a30cfb34d9ecb70631bf83
MIPS: CPS: Copy EVA configuration when starting secondary VPs.

When starting secondary VPEs which support EVA and the SegCtl registers,
copy the memory segmentation configuration from the running VPE to ensure
that all VPEs in the core have a consistent virtual memory map.

The EVA configuration of secondary cores is dealt with when starting the
core via the CM.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13291/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cps-vec.S