Date: Tue, 26 Nov 2002 09:10:14 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21535 for review Message-ID: <200211261710.gAQHAE8D088176@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21535 Change 21535 by jhb@jhb_laptop on 2002/11/26 09:09:45 Try doing both startup IPI's. Affected files ... .. //depot/projects/smpng/sys/i386/i386/mp_machdep.c#31 edit Differences ... ==== //depot/projects/smpng/sys/i386/i386/mp_machdep.c#31 (text+ko) ==== @@ -2141,14 +2141,12 @@ /* used as a watchpoint to signal AP startup */ cpus = mp_ncpus; -#if 0 /* * first we do an INIT/RESET IPI this INIT IPI might be run, reseting * and running the target CPU. OR this INIT IPI might be latched (P5 * bug), CPU waiting for STARTUP IPI. OR this INIT IPI might be * ignored. */ -#endif /* setup the address for the target AP */ icr_hi = lapic.icr_hi & ~APIC_ID_MASK; @@ -2188,7 +2186,6 @@ /* spin */ ; u_sleep(200); /* wait ~200uS */ -#if 0 /* * finally we do a 2nd STARTUP IPI: this 2nd STARTUP IPI should run IF * the previous STARTUP IPI was cancelled by a latched INIT IPI. OR @@ -2200,7 +2197,6 @@ while (lapic.icr_lo & APIC_DELSTAT_MASK) /* spin */ ; u_sleep(200); /* wait ~200uS */ -#endif /* wait for it to start */ set_apic_timer(5000000);/* == 5 seconds */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211261710.gAQHAE8D088176>