From: David S. Miller Date: Sun, 19 Feb 2006 00:36:39 +0000 (-0800) Subject: [SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V. X-Git-Tag: firefly_0821_release~37607^2~66 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c;p=firefly-linux-kernel-4.4.55.git [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: David S. Miller --- diff --git a/arch/sparc64/kernel/ktlb.S b/arch/sparc64/kernel/ktlb.S index ac29da915d09..883180be3d59 100644 --- a/arch/sparc64/kernel/ktlb.S +++ b/arch/sparc64/kernel/ktlb.S @@ -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