Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b85ff244 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle
Browse files

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: default avatarPaul 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 47b26a46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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

	/*