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

[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
...@@ -92,7 +92,7 @@ kvmap_itlb_longpath: ...@@ -92,7 +92,7 @@ kvmap_itlb_longpath:
wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
.section .sun4v_2insn_patch, "ax" .section .sun4v_2insn_patch, "ax"
.word 661b .word 661b
nop SET_GL(1)
nop nop
.previous .previous
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment