From: Meelis Roos <mroos@linux.ee>
To: Kjetil Oftedal <oftedal@gmail.com>
Cc: Dave Airlie <airlied@gmail.com>,
David Miller <davem@davemloft.net>,
michel@daenzer.net, sparclinux@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: PCI Radeon RV100 detection hang on sparc64
Date: Tue, 24 Sep 2013 00:18:24 +0300 (EEST) [thread overview]
Message-ID: <alpine.SOC.1.00.1309240015110.15075@math.ut.ee> (raw)
In-Reply-To: <CALMQjD8ys=rGGQ5BVfAVPZuN8urr6_xTtCEWq9sYubP4+0bPjQ@mail.gmail.com>
> 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- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Region 0: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 1: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Bus: primary=00, secondary=02, subordinate=ff, sec-latency=64
I/O behind bridge: 00000000-00000fff
Memory behind bridge: 00000000-000fffff
Prefetchable memory behind bridge: 00000000-000fffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
[virtual] Expansion ROM at fffffe0100000000 [disabled] [size=1]
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort+ >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- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64, Cache Line Size: 64 bytes
Region 0: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 1: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00000000-00000fff
Memory behind bridge: 00000000-000fffff
Prefetchable memory behind bridge: 00000000-000fffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
[virtual] Expansion ROM at fffffe0100000000 [disabled] [size=1]
BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort+ >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- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (2500ns min, 6250ns max)
Region 0: Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 1: Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 2: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Expansion ROM at fffffe0100000000 [disabled] [size=1]
01:01.1 Ethernet controller: Oracle/SUN Happy Meal 10/100 Ethernet [hme] (rev 01)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (2500ns min, 1250ns max)
Interrupt: pin ? routed to IRQ 12
Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=28K]
Region 1: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 2: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Expansion ROM at fffffe0100000000 [disabled] [size=1]
Kernel driver in use: hme
01:02.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI 3D Rage Pro 215GP (rev 5c) (prog-if 00 [VGA controller])
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 13
Region 0: Memory at e1000000 (32-bit, non-prefetchable) [size=16M]
Region 1: I/O ports at fffffe0100000000 [disabled] [size=1]
Region 2: Memory at e2000000 (32-bit, non-prefetchable) [size=4K]
Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Expansion ROM at fffffe0100000000 [disabled] [size=1]
Kernel driver in use: atyfb
01:03.0 IDE interface: Silicon Image, Inc. PCI0646 (rev 03) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Silicon Image, Inc. PCI0646
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (500ns min, 1000ns max)
Interrupt: pin A routed to IRQ 14
Region 0: I/O ports at c00000 [size=8]
Region 1: I/O ports at c00008 [size=4]
Region 2: I/O ports at c00010 [size=8]
Region 3: I/O ports at c00018 [size=4]
Region 4: I/O ports at c00020 [size=16]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
[virtual] Expansion ROM at fffffe0100000000 [disabled] [size=1]
Kernel driver in use: pata_cmd64x
02:01.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (2000ns min, 2000ns max)
Interrupt: pin A routed to IRQ 15
Region 0: I/O ports at fffffe0100000000 [disabled] [size=1]
Region 1: Memory at 00002000 (32-bit, non-prefetchable) [size=256]
Region 2: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Expansion ROM at 00010000 [disabled] [size=64K]
Kernel driver in use: aic7xxx
02:02.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV100 QY [Radeon 7000/VE] (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices [AMD] nee ATI XVR-100 (supplied by Sun)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at 08000000 (32-bit, prefetchable) [disabled] [size=64M]
Region 1: I/O ports at 0400 [disabled] [size=256]
Region 2: Memory at 10000000 (32-bit, non-prefetchable) [disabled] [size=32K]
Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Expansion ROM at 10020000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
02:03.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Rage XL (rev 27) (prog-if 00 [VGA controller])
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
Region 0: Memory at 11000000 (32-bit, non-prefetchable) [size=16M]
Region 1: I/O ports at fffffe0100000000 [disabled] [size=1]
Region 2: Memory at 12000000 (32-bit, non-prefetchable) [size=4K]
Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Expansion ROM at 12020000 [disabled] [size=128K]
Capabilities: [5c] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: atyfb
02:04.0 Ethernet controller: Fujitsu Limited. Device 11a2 (rev 02)
Subsystem: Fujitsu Limited. Device 11a2
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 18
Region 0: Memory at 12040000 (64-bit, non-prefetchable) [disabled] [size=64K]
Region 2: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 3: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 4: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Region 5: [virtual] Memory at fffffe0100000000 (32-bit, non-prefetchable) [size=1]
Expansion ROM at fffffe0100000000 [disabled] [size=1]
Capabilities: [40] PCI-X non-bridge device
Command: DPERE- ERO+ RBC=512 OST=1
Status: Dev=ff:1f.1 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=2048 DMOST=1 DMCRS=16 RSCEM- 266MHz- 533MHz-
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Unknown small resource type 00, will not decode more.
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Address: 082024c310601050 Data: 1080
--
Meelis Roos (mroos@linux.ee)
next prev parent reply other threads:[~2013-09-23 21:18 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 14:41 PCI Radeon RV100 detection hang on sparc64 Meelis Roos
2012-09-06 16:51 ` Adam Jackson
2012-09-06 18:15 ` David Miller
2012-09-06 16:55 ` Michel Dänzer
2012-09-06 18:18 ` David Miller
2012-09-07 7:18 ` Dave Airlie
2012-09-19 7:51 ` mroos
2013-09-23 13:48 ` mroos
2013-09-23 19:06 ` Kjetil Oftedal
2013-09-23 20:36 ` David Miller
2013-09-23 21:14 ` mroos
2013-09-23 21:33 ` David Miller
2013-09-24 11:06 ` Meelis Roos
2013-09-25 23:26 ` Meelis Roos
2013-10-01 8:43 ` Meelis Roos
2014-04-04 20:52 ` David Miller
2014-08-13 6:30 ` David Miller
2014-08-19 11:17 ` Meelis Roos
2014-08-25 14:48 ` Meelis Roos
2014-08-26 2:46 ` Michel Dänzer
2014-08-26 7:07 ` Meelis Roos
2014-08-27 2:24 ` Michel Dänzer
2014-08-30 19:20 ` Kjetil Oftedal
2014-08-31 5:59 ` Meelis Roos
2013-09-23 21:18 ` Meelis Roos [this message]
2013-10-10 11:51 ` [PATCH] only try to find radeon IGP ROM on X86 Meelis Roos
2013-10-10 14:38 ` Alex Deucher
2013-10-10 15:26 ` Meelis Roos
2013-10-10 17:02 ` David Miller
2013-10-10 17:10 ` Alex Deucher
2012-09-06 18:08 ` PCI Radeon RV100 detection hang on sparc64 David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.SOC.1.00.1309240015110.15075@math.ut.ee \
--to=mroos@linux.ee \
--cc=airlied@gmail.com \
--cc=davem@davemloft.net \
--cc=dri-devel@lists.freedesktop.org \
--cc=michel@daenzer.net \
--cc=oftedal@gmail.com \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox