Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Gerard Roudier <groudier@club-internet.fr>
Cc: Richard Henderson <rth@twiddle.net>,
	axp-list@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: PCI-PCI bridges mess in 2.4.x
Date: Fri, 10 Nov 2000 02:17:23 +0300	[thread overview]
Message-ID: <20001110021723.A4142@jurassic.park.msu.ru> (raw)
In-Reply-To: <Pine.LNX.4.10.10011092123320.1438-100000@linux.local>; from groudier@club-internet.fr on Thu, Nov 09, 2000 at 09:37:41PM +0100

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.




  parent reply	other threads:[~2000-11-09 23:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20001101153420.A2823@jurassic.park.msu.ru>
     [not found] ` <20001101093319.A18144@twiddle.net>
     [not found]   ` <20001103111647.A8079@jurassic.park.msu.ru>
     [not found]     ` <20001103011640.A20494@twiddle.net>
2000-11-06 16:29       ` PCI-PCI bridges mess in 2.4.x Ivan Kokshaysky
2000-11-07  1:03         ` Michal Jaegermann
2000-11-07 13:12           ` Ivan Kokshaysky
2000-11-08  1:32             ` Michal Jaegermann
2000-11-08  9:39         ` Richard Henderson
2000-11-08 11:25           ` Ivan Kokshaysky
2000-11-08 17:37             ` Richard Henderson
2000-11-08 22:03               ` Ivan Kokshaysky
2000-11-08 23:48                 ` Richard Henderson
2000-11-09  0:44                   ` Michal Jaegermann
2000-11-09 14:39                   ` Ivan Kokshaysky
     [not found]                     ` <Pine.LNX.4.10.10011092123320.1438-100000@linux.local>
2000-11-09 23:17                       ` Ivan Kokshaysky [this message]
     [not found]                         ` <Pine.LNX.4.10.10011101929190.1448-100000@linux.local>
2000-11-10 21:29                           ` Ivan Kokshaysky
     [not found]                 ` <3A09D72A.C2730D0@mandrakesoft.com>
2000-11-08 23:49                   ` Richard Henderson
     [not found]           ` <3A0977A7.53641C52@mandrakesoft.com>
2000-11-08 17:20             ` Richard Henderson
2000-11-09  4:45         ` Stephen Degler
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox