diff options
author | Paul Burton <paul.burton@imgtec.com> | 2015-09-22 11:12:09 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-10-26 09:49:47 +0100 |
commit | b85ff244533fb4b88f34bcca55c194f142338c3f (patch) | |
tree | 26921ead31283086fe28e203aca0ef5fbf26c1a7 /arch/mips/kernel/cps-vec.S | |
parent | 47b26a467dc7dacbeae9240af5a35fc2fec48650 (diff) | |
download | linux-b85ff244533fb4b88f34bcca55c194f142338c3f.tar.gz linux-b85ff244533fb4b88f34bcca55c194f142338c3f.tar.bz2 linux-b85ff244533fb4b88f34bcca55c194f142338c3f.zip |
MIPS: CPS: Set Status.BEV bit during early boot
Set the Status.BEV bit throughout the early startup of a secondary core
such that if an exception occurs the core branches to one of the
exception vector entries from cps-vec.S, rather than branching to
whatever is set in EBase.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11200/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cps-vec.S')
-rw-r--r-- | arch/mips/kernel/cps-vec.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/cps-vec.S b/arch/mips/kernel/cps-vec.S index 209ded16806b..b3fdb2a6405e 100644 --- a/arch/mips/kernel/cps-vec.S +++ b/arch/mips/kernel/cps-vec.S @@ -71,7 +71,7 @@ not_nmi: mtc0 t0, CP0_CAUSE /* Setup Status */ - li t0, ST0_CU1 | ST0_CU0 + li t0, ST0_CU1 | ST0_CU0 | ST0_BEV mtc0 t0, CP0_STATUS /* |