From owner-freebsd-alpha Sat Sep 16 5:35: 7 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by hub.freebsd.org (Postfix) with ESMTP id EEF4737B424; Sat, 16 Sep 2000 05:35:02 -0700 (PDT) Received: from nlsys.demon.co.uk ([158.152.125.33] helo=herring.nlsystems.com) by anchor-post-32.mail.demon.net with esmtp (Exim 2.12 #1) id 13aHBM-0007hE-0W; Sat, 16 Sep 2000 13:35:01 +0100 Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id NAA27694; Sat, 16 Sep 2000 13:12:04 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 16 Sep 2000 13:10:18 +0100 (BST) From: Doug Rabson To: John Baldwin Cc: alpha@FreeBSD.org, smp@FreeBSD.org Subject: Re: Prelimiary interrupt thread patches for alpha In-Reply-To: <200009142254.PAA95214@pike.osd.bsdi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 14 Sep 2000, John Baldwin wrote: > Doug Rabson wrote: > > On Wed, 13 Sep 2000, John Baldwin wrote: > > > I've updated the alpha.ithreads.patch on my freefall webpage to work with > > > the latest current, btw. > > > > I've been working on this today and I have a kernel which boots on my > > miata and is happily chewing its way through a buildworld. I fixed the > > device_get_nameunit() problem - it was just going wrong for ATA interrupts > > which are handled quite strangely on alpha. I also changed the p_comm > > string to include the whole vector number in hex since on some platforms > > all bits are relavent, not just (vec-0x900)>>4. > > > > I've attached my modified version of your patch to this message. Its not > > quite ready to commit yet since I didn't write the enable/disable hooks > > for mcpcia or dwlpx. I have an mcpcia here (the AS4100) so I'll be able to > > test that soon. > > After that last fix to trap.c to add an acquire/release of sched_lock, I > am now happily running interrupt threads on my miata here with your patch. > I've gone ahead and replaced my patch on freefall with yours, but hopefully > we can commit this very soon when you get the other PCI chipsets finished. > Thanks. :) I know have a buildworld going on my INVARIANTS kernel and it > is running fine so far. Good. I'll try to deal with mcpcia and dwlpx today or tomorrow and we can get this thing committed. After that, I can get back to trying to get a secondary CPU into the scheduler without hard-locking the machine :-). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 20 8348 3944 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message