From owner-freebsd-alpha@FreeBSD.ORG Mon Jun 28 16:14:34 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB21416A4CE for ; Mon, 28 Jun 2004 16:14:34 +0000 (GMT) Received: from mail.unixiron.org (mail.unixiron.org [62.80.47.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BDD343D4C for ; Mon, 28 Jun 2004 16:14:34 +0000 (GMT) (envelope-from michael@unixiron.org) Received: from mail.unixiron.org (mail.unixiron.org [62.80.47.42]) by mail.unixiron.org (8.12.11/8.12.11) with ESMTP id i5SGECaG004207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Jun 2004 18:14:12 +0200 (CEST) (envelope-from michael@unixiron.org) Date: Mon, 28 Jun 2004 18:14:12 +0200 (CEST) From: Michael Kukat To: ticso@cicely.de In-Reply-To: <20040628124809.GG1787@cicely12.cicely.de> Message-ID: <20040628180638.A3330@calchas.unixiron.org> References: <20040627212654.Q437@calchas.unixiron.org> <20040628124809.GG1787@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: clamd / ClamAV version 0.67-1, clamav-milter version 0.67a X-Spam-Status: No, hits=-100.0 required=2.0 tests=USER_IN_WHITELIST autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on calchas.unixiron.org cc: freebsd-alpha@freebsd.org Subject: Re: Alphastation 200 (and others) PCI-PCI bridge fix X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 16:14:35 -0000 Hi again, On Mon, 28 Jun 2004, Bernd Walter wrote: > The IRQs on the AS200 should be shareable as on every PCI architecture. - implemented > We already have generic code to do interrupt routing over bridges. > See Rev 1.14 in dec_axppci_33.c for a example on how to use it. > It's quite simple to do - getting someone with hardware to test is the > biggest challenge. - scheduled for soon, need to upgrade to 5.x first my current state is attached. This is now tested with the ANA-62044, which really uses 4 IRQs through the bridge. Following configuration: ANA-62044 in slot 3 of AlphaStation 200, leading to the following IRQ layout: onboard de0 - IRQ 5 sf0 - IRQ 15 sf1 - IRQ 14 sf2 - IRQ 5 sf3 - IRQ 15 (maybe i confused IRQ 14/15 :) Tested: load on sf0 and sf1, on de0 and sf2 and on sf0 and sf3, thus meaning all combinations of single IRQ, shared on-card and shared on 2 different devices. Test was done by simply running ping -f through the machine acting as router, and running ping -f from 2 external hosts onto the alpha in parallel. All tests ran through without any problems, peak load was about 20000 interrupts/s (sf0/sf3). So... this hack can be considered stable and might especially help 4.x-users. I'll try to re-use this interrupt shareable flag handling in the newer version using the new routing devmethod functionality. Didn't find a better way to implement it. And usually sharing IRQs between "ISA devices" is not common :) ...Michael -- http://www.unixiron.org/ Home Powered by: (Net|Open|Free)BSD IRIX NonStop-UX Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacOS A/UX