From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 876B12F0F6 for ; Thu, 9 Nov 2000 18:22:28 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA9NMSt25741 for axp-list@listman.redhat.com; Thu, 9 Nov 2000 18:22:28 -0500 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA9NMND25724 for ; Thu, 9 Nov 2000 18:22:27 -0500 Received: (from ink@localhost) by jurassic.park.msu.ru (8.9.3/8.9.3) id CAA04225; Fri, 10 Nov 2000 02:17:23 +0300 Date: Fri, 10 Nov 2000 02:17:23 +0300 From: Ivan Kokshaysky To: Gerard Roudier Cc: Richard Henderson , axp-list@redhat.com, linux-kernel@vger.kernel.org Subject: Re: PCI-PCI bridges mess in 2.4.x Message-ID: <20001110021723.A4142@jurassic.park.msu.ru> References: <20001109173920.A3205@jurassic.park.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from groudier@club-internet.fr on Thu, Nov 09, 2000 at 09:37:41PM +0100 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Thu, Nov 09, 2000 at 09:37:41PM +0100, Gerard Roudier wrote: > Hmmm... > The PCI spec. says that Limit registers define the top addresses > _inclusive_. Correct. > The spec. does not seem to imagine that a Limit register lower than the > corresponding Base register will ever exist anywhere, in my opinion. :-) Not correct. Here's a quote from `PCI-to-PCI Bridge Architecture Specification rev 1.1': The Memory Limit register _must_ be programmed to a smaller value than the Memory Base if there are no memory-mapped I/O addresses on the secondary side of the bridge. I/O is slightly different because it's optional for the bridge - but if it's implemented same rules apply. > This let me think that trying to be clever here is probably a very bad > idea. What is so catastrophic of having 1 to 4 bytes of addresses and no > more being possibly in a forwardable range? > Huh. 1 to 4 bytes? 4K for I/O and 1M for memory. And it's not trying to be clever (anymore :-) - just strictly following the Specs. I understand your point very well, btw. I asked similar questions to myself until I've had the docs. Ivan.