PERFORCE change 29140 for review

Marcel Moolenaar marcel at FreeBSD.org
Thu Apr 17 11:38:02 PDT 2003


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

Change 29140 by marcel at marcel_nfs on 2003/04/17 11:37:51

	When we switch to virtual addressing on the AP, enable
	interrupt collection as well. This avoids nested TLB
	faults in cases we have to deal with a fault. There's
	also no need to keep interrupt collection disabled.

Affected files ...

.. //depot/projects/ia64_epc/sys/ia64/ia64/locore.s#11 edit
.. //depot/projects/ia64_epc/sys/ia64/ia64/mp_machdep.c#7 edit

Differences ...

==== //depot/projects/ia64_epc/sys/ia64/ia64/locore.s#11 (text+ko) ====

@@ -282,7 +282,7 @@
 	;;
 1:	mov	r16 = ip
 	add	r17 = 2f-1b, r17
-	movl	r18 = (IA64_PSR_AC|IA64_PSR_BN|IA64_PSR_DFH|IA64_PSR_DT|IA64_PSR_IT|IA64_PSR_RT)
+	movl	r18 = (IA64_PSR_AC|IA64_PSR_BN|IA64_PSR_DFH|IA64_PSR_DT|IA64_PSR_IC|IA64_PSR_IT|IA64_PSR_RT)
 	;;
 	add	r17 = r17, r16
 	mov	cr.ipsr = r18

==== //depot/projects/ia64_epc/sys/ia64/ia64/mp_machdep.c#7 (text+ko) ====

@@ -104,7 +104,7 @@
 	while (ap_spin)
 		/* spin */;
 
-	__asm __volatile("ssm psr.ic|psr.i;; srlz.i;;");
+	__asm __volatile("ssm psr.i;; srlz.d;;");
 
 	/*
 	 * Get and save the CPU specific MCA records. Should we get the


More information about the p4-projects mailing list