Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
To: Richard Henderson <rth@twiddle.net>
Cc: axp-list@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: PCI-PCI bridges mess in 2.4.x
Date: Thu, 9 Nov 2000 01:03:36 +0300	[thread overview]
Message-ID: <20001109010336.A1367@jurassic.park.msu.ru> (raw)
In-Reply-To: <20001108093744.D27324@twiddle.net>; from rth@twiddle.net on Wed, Nov 08, 2000 at 09:37:44AM -0800

On Wed, Nov 08, 2000 at 09:37:44AM -0800, Richard Henderson wrote:
> Interesting.  I hadn't known that.  It didn't actually fail with
> the ALI bridge, I just assumed it was a mistake.  Can anyone with
> docs on non-DEC bridges confirm that this is a common thing?

It would be better if someone who has "PCI-to-PCI Bridge Architecture
Specification" handy could confirm this. Non-conforming hardware
must live in quirks/fixups etc. ;-)

I've found some interesting info today - application note on programming
the DEC 21052 bridge (ruffian has this chip, btw):
http://download.sourceforge.net/mirrors/NetBSD/misc/dec-docs/ec-qlzba-te.ps.gz

Particularly, there are examples for setting up that bridge for IO or MEM
only configurations. For example, with IO disabled:
1. Set IO base = 0xffff, limit = 0
2. Set command register = PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER

> Certainly the fact should be commented if the old code goes back
> in to avoid disruption by helpful folks like myself.  :-)

That change wasn't bad at all - at least it's 100% safe :-)
But of course, it would be better to have unused regions disabled
in a clean way.

But actually I'm concerned that all this code doesn't work at all -
see reports from Michal Jaegermann (the bridge acts as if it drops
config space transactions randomly). I have a lot of suggestions, but
it's a pain to debug something without access to real hardware - just
a waste of the precious time of everyone who is involved...
So I would probably wait a week or two until I'll have something with
bridges:-(

Ivan.




  reply	other threads:[~2000-11-08 22:04 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 [this message]
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
     [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