From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19633 invoked from network); 31 Aug 1999 05:35:45 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 31 Aug 1999 05:35:45 -0000 Received: from piglet.twiddle.net (root@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id BAA13956 for ; Tue, 31 Aug 1999 01:35:43 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id WAA03680; Mon, 30 Aug 1999 22:35:40 -0700 Date: Mon, 30 Aug 1999 22:35:40 -0700 From: Richard Henderson To: torvalds@transmeta.com, axp-list@redhat.com Cc: zabulon@twiddle.net Subject: axp update for 2.3.15 Message-ID: <19990830223540.A3016@twiddle.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i What fun! This has been successfully tested on pyxis (sx164), cia (pc164), and tsunami (ds20). As of last night it nearly, but didn't quite, work on mcpcia (as4100). More work to do there, but this patch has gotten quite large enough. I don't have direct access to anything else, so testers go to it. I'm particularly interested in results from XL and AlphaBook1, as those got tweeked heavier than most. Due to the size of the patch, I've put it up at ftp://ftp.twiddle.net/pub/rth/d-2315-rth3.gz There are several points of interest besides the bare fact of the pci subsystem rewrite: * The generic PCI probing is tweeked to allow the port to always assign bus numbers. Tweeked to add the additional top-level PCI busses in order, so as not to affect probe order. * __delay is out of line, hoping to cure whatever weird inconsistency thing Gerard was seeing on the ncr's. * CONFIG_ALPHA_SRM_SETUP is gone. We're about to start playing with scatter-gather I/O, which will preclude that sort of thing. * PYXIS now always uses byte/word insns for I/O. The one holdout so far had been RUFFIAN; If you have one and have problems with things wigging out extremely early, consider upgrading AlphaBIOS so that bw i/o gets turned on. * CIA and MCPCIA force all devices within the span of HAE=0. For CIA this is merely a performance improvement (and we have 512MB to work with, which seems more than enough for machines with 5 or fewer pci slots). For MCPCIA this is a deadly earnest requirement -- we have SMP races on I/O if we must manipulate the HAE, and one HAE per pci bus (and we never did handle the secondary bus' HAE values properly). It would be possible to solve the SMP race issue if it weren't for the fact that userland processes (i.e. X) also manipulate the HAE. We have a 128MB span per pci bus to work with, so most folks won't notice. But if you've got lots of video capture cards or something else that eats lots of space, you may have to shift the cards between the busses to balance the load. The only SMP machine left (that we support) using an HAE is the T2 (Sable). There probably aren't that many running around, but if you've got one, I'd suggest you not use X. (I should probably get a spinlock in there so that at least the kernel is reliable...) r~