From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (unknown [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id 1783E304C6 for ; Wed, 17 Oct 2001 11:12:11 -0400 (EDT) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id f9HFCAN18335 for ; Wed, 17 Oct 2001 11:12:11 -0400 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f9HFCAH10328 for axp-list@listman.redhat.com; Wed, 17 Oct 2001 11:12:10 -0400 Received: from delta.ds2.pg.gda.pl (macro@delta.ds2.pg.gda.pl [213.192.72.1]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f9HFBYg10276 for ; Wed, 17 Oct 2001 11:11:35 -0400 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id RAA14785 for ; Wed, 17 Oct 2001 17:10:32 +0200 (MET DST) Date: Wed, 17 Oct 2001 17:10:30 +0200 (MET DST) From: "Maciej W. Rozycki" To: axp-list@redhat.com Subject: Re: PC164 SRM problem In-Reply-To: <20011017181819.A3229@jurassic.park.msu.ru> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Wed, 17 Oct 2001, Ivan Kokshaysky wrote: > And what if one of these resources is critical for console operation, and > other isn't, how can you determine which one to reassign? If one of the resources is critical then it already got initialized. That is it does not conflict (overlap) with any other or the system wouldn't function (couldn't use the device). Thus it need not be changed. If certain resources conflict with one another (likely due to power-on defaults) they are all unusable and may certainly be reinitialized anyhow. > Besides, i386 code can't handle uninitialized PCI-PCI bridges. At all. > I believe the main reason why i386 port doesn't use "setup PCI yourself" > approach is that there are lots and lots of various x86 host-to-pci bridges, > and very few of them are documented. Actually classic PCI-PCI bridges (e.g. DEC's 21x5x) are very rare in i386 systems, although it might be worth checking how often they get properly initialized by firmware (I don't have a card with a bridge to test, unfortunately). More frequent are peer host bridges, such as the one included in the i450KX/GX chipset or all AGP chipsets. Most if not all Intel chipsets are documented sufficiently, others might not. But there is usually no need to configure them -- they are not standard PCI devices with explicit resources. They usually hardwire the address range they decode to devices that are directly attached to them (mainly the host's memory). Other devices need resource allocation as usual and that happens either directly using PCI configuration space accesses or via firmware calls, which also use configuration accesses but may be needed if a host bridge is not documented sufficiently enough. It's even quite likely to see PCI devices left completely uninitialized by i386 firmware due to the infamous PnP standard. In short the absence of handling of PCI-PCI bridges for i386 systems is likely due to the lack of interest. > > But it doesn't work well, either. If you get dumped back to SRM due to > > an exception, the whole configuration remains messed up. > > Good point. That was one of the reasons why I thought that save/restore > code isn't very useful. However, most likely such an exception would mean > that something is screwed up anyway... Of course, and you may wish to do additional diagnostics within SRM before you reset the system losing the ability to recover system's state at the time of the fault completely. Or you may want the system to reboot automatically (I'm not sure it was possible to be set up, though). -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available +