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

Commit ec747b21 authored by Max Filippov's avatar Max Filippov Committed by Chris Zankel
Browse files

xtensa: fix RASID SR initialization



set_rasid_register accepts new RASID SR value, but ASID_USER_FIRST is
ASID value for the ring 1; RASID value is made by ASID_INSERT macro.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent eab5e7a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ void __init init_mmu(void)

	/* Set rasid register to a known value. */

	set_rasid_register(ASID_USER_FIRST);
	set_rasid_register(ASID_INSERT(ASID_USER_FIRST));

	/* Set PTEVADDR special register to the start of the page
	 * table, which is in kernel mappable space (ie. not