From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meelis Roos Subject: Re: PCI Radeon RV100 detection hang on sparc64 Date: Tue, 24 Sep 2013 00:18:24 +0300 (EEST) Message-ID: References: <1346950551.30263.196.camel@thor.local> <20120906.141823.13429356729572330.davem@davemloft.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: Sender: sparclinux-owner@vger.kernel.org To: Kjetil Oftedal Cc: Dave Airlie , David Miller , michel@daenzer.net, sparclinux@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org > That looks quite strange. I guess the kernel should map the ROM at the > address OpenBoot/OF assigned to it. ( 10020000 ). DaveM already explained about the phys/virt mapping. > Are pci devices located beneatch pci@1f,0 not reserving resources > correctly ? (Thus the reuse of addresses when the addresses are > assigned during runtime ? or is there some virtual memory magic > fooling me ?) > > Can you provide a dump of lspci -v ? But here it is anyway if it is of any help. Expansion ROM at 10020000 [disabled] [size=128K], it seems to have 128K window but pci_map_rom returns smaller size. 00:01.0 PCI bridge: Oracle/SUN Simba Advanced PCI Bridge (rev 13) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- 00:01.1 PCI bridge: Oracle/SUN Simba Advanced PCI Bridge (rev 13) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- 01:01.0 Bridge: Oracle/SUN EBUS (rev 01) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-