Subject: Re: reproducible kernel panic w/ 2.0RC4MP
To: Tim Kelly <hockey@dialectronics.com>
From: Matt Thomas <matt@3am-software.com>
List: port-macppc
Date: 12/03/2004 10:26:39
At 10:20 AM 12/3/2004, Tim Kelly wrote:
>  #ifdef MULTIPROCESSOR
>+       tmsr = emsr;
>         if (ci->ci_cpuid == 0) {
>+
>+               /* EE was already off */
>+               /* we may have an IPI pending */
>+               /* for SP, PSL_EE off is by design */
>+               if (!(emsr & PSL_EE)) {
>+                       emsr |= PSL_EE;
>+                       /* already pending interrupts get processed */
>+                       /* because the mask is against earlier pcpl */
>+                       /* new interrupts get marked pending */
>+                       splraise(imask[IPL_IPI]);
>+               }
>+
>+
>  #endif
>
>just comment out the
>
>         splraise(imask[IPL_IPI]);


which means this comes to

     tmsr = emsr;
     if (ci->ci_cpuid == 0) {
         emsr |= PSL_EE;

     ....


-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this message.