Date: Thu, 17 Apr 2003 11:37:59 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 29140 for review Message-ID: <200304171837.h3HIbxGH050712@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=29140 Change 29140 by marcel@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 thehelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304171837.h3HIbxGH050712>
