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

Commit 6cc200db authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V.



Just like kvmap_dtlb_longpath we have to force the
global register level to one in order to mimick the
PSTATE_MG --> PSTATE_AG trasition done on SUN4U.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 843dfb4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ kvmap_itlb_longpath:
	wrpr	%g5, PSTATE_AG | PSTATE_MG, %pstate
	.section .sun4v_2insn_patch, "ax"
	.word	661b
	nop
	SET_GL(1)
	nop
	.previous