PERFORCE change 96051 for review

Kip Macy kmacy at FreeBSD.org
Tue Apr 25 07:03:13 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96051

Change 96051 by kmacy at kmacy_storage:sun4v_rwbuf on 2006/04/25 07:02:55

	use real addresses to ack ipis

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/interrupt.S#7 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/interrupt.S#7 (text+ko) ====

@@ -425,16 +425,15 @@
 END(tl_invlpg)
 	
 ENTRY(set_ackmask)
-	MAGIC_TRAP_ON
-	GET_PCPU_SCRATCH
-	ld	[%g3], %g1
-	ld	[PCPU(CPUMASK)], %g4
+	GET_PCPU_PHYS_SCRATCH(%g6)
+	wr	%g0, ASI_REAL, %asi
+	lda	[%g3]%asi, %g1
+	lda	[PCPU(CPUMASK)]%asi, %g4
 1:	or	%g1, %g4, %g2
-	cas	[%g3], %g1, %g2
+	casa	[%g3]%asi, %g1, %g2
 	cmp	%g1, %g2
 	bne,pn	%icc, 1b
 	  mov	%g2, %g1
-	MAGIC_TRAP_OFF
 	ba,a,pt	%xcc, cpu_mondo
-	  nop
+	  membar #StoreLoad
 END(set_ackmask)


More information about the p4-projects mailing list