From owner-cvs-all Mon Oct 29 13:27:28 2001 Delivered-To: cvs-all@freebsd.org Received: from palrel12.hp.com (palrel12.hp.com [156.153.255.237]) by hub.freebsd.org (Postfix) with ESMTP id 5C80637B401; Mon, 29 Oct 2001 13:27:19 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel12.hp.com (Postfix) with ESMTP id 0013B1F6DB; Mon, 29 Oct 2001 13:27:15 -0800 (PST) Received: from gauss.cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id NAA15748; Mon, 29 Oct 2001 13:27:15 -0800 (PST) Received: (from marcel@localhost) by gauss.cup.hp.com (8.11.6/8.11.1) id f9TLRFM38396; Mon, 29 Oct 2001 13:27:15 -0800 (PST) (envelope-from marcel) Date: Mon, 29 Oct 2001 13:27:15 -0800 From: Marcel Moolenaar To: Doug Rabson Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ia64/ia64 interrupt.c mp_machdep.c Message-ID: <20011029132715.A38320@gauss.cup.hp.com> References: <20011029101414.A37597@gauss.cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 29, 2001 at 09:09:35PM +0000, Doug Rabson wrote: > On Mon, 29 Oct 2001, Marcel Moolenaar wrote: > > > On Mon, Oct 29, 2001 at 09:33:27AM +0000, Doug Rabson wrote: > > > On Sun, 28 Oct 2001, Marcel Moolenaar wrote: > > > > > > > marcel 2001/10/28 23:34:48 PST > > > > > > > > Modified files: > > > > sys/ia64/ia64 interrupt.c mp_machdep.c > > > > Log: > > > > o Send a test IPI from the BSP to itself at the same time APs > > > > are woken up. > > > > o Make IPIs synchronuous by default. If we want asynchronuous > > > > IPIs, we may want to make the memory fence controllable. > > > > > > Hmm. Looks like you are dangerously close to starting those other cpus... > > > > It looks like APs are woken up, because the test IPI is delivered. > > I just need to have the OS_BOOT_RENDEZ do sufficient initializations. > > I don't think I have any DTR enties because I couldn't see any data > > on the screen when writing to the frame-buffer as a way to see if > > the AP actually woke up. > > You need to setup ITR and DTR to map the first 256Mb of memory. Also as > soon as possible you need to call map_pal_code() to pin down the region > which holds the PAL (preferably *before* you try calling any PAL > functions. I didn't know about map_pal_code(). Thanks! > > BTW: I moved scanning the MADT to a place where it now happens to > > be called only when SMP is defined. This is bogus. I probably > > broke non SMP configs :-/ > > I guess it needs its own SYSINIT to make it run just before the MP > initialisation code. I'll take a look at it this evening. I hope we can avoid it... What I really like is fix the MBUF code. It's the only user of 'all_cpus' and has a fixed upper bound on the number of CPUs (NCPU), whereas MD code uses MAXCPU. We currently don't need MAXCPU on ia64 and hope we can get rid of NCPU in MI code as well. It's probably not going to happen soon, though :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message