From owner-p4-projects Tue Nov 26 9:40:28 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BE4F937B404; Tue, 26 Nov 2002 09:40:26 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35A5E37B401 for ; Tue, 26 Nov 2002 09:40:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6CE943E4A for ; Tue, 26 Nov 2002 09:40:25 -0800 (PST) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQHapmV090583 for ; Tue, 26 Nov 2002 09:36:51 -0800 (PST) (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAQHaohQ090569 for perforce@freebsd.org; Tue, 26 Nov 2002 09:36:50 -0800 (PST) Date: Tue, 26 Nov 2002 09:36:50 -0800 (PST) Message-Id: <200211261736.gAQHaohQ090569@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin Subject: PERFORCE change 21540 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=21540 Change 21540 by jhb@jhb_laptop on 2002/11/26 09:36:07 Ok, we need the INIT IPI's, too. Checking my ia32 books a bit more closely, the INIT IPI's would seem to be required. I don't know why we are having problems with some of the P4 SMP systems though. Affected files ... .. //depot/projects/smpng/sys/i386/i386/mp_machdep.c#32 edit Differences ... ==== //depot/projects/smpng/sys/i386/i386/mp_machdep.c#32 (text+ko) ==== @@ -2155,7 +2155,6 @@ /* do an INIT IPI: assert RESET */ icr_lo = lapic.icr_lo & APIC_ICRLO_RESV_MASK; -#if 0 lapic.icr_lo = icr_lo | 0x0000c500; /* wait for pending status end */ @@ -2169,7 +2168,6 @@ u_sleep(10000); /* wait ~10mS */ while (lapic.icr_lo & APIC_DELSTAT_MASK) /* spin */ ; -#endif /* * next we do a STARTUP IPI: the previous INIT IPI might still be To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message