Re: [PATCH] PPC: PCI: Fix pcibios_io_space_offset() so it works for 32-bit ptr/64-bit rsrcs

From
Ben Collins <hidden>
Date
2012-06-08 18:39:06
Reply to
Benjamin Herrenschmidt, 2012-06-07
On Jun 7, 2012, at 5:32 PM, Benjamin Herrenschmidt wrote:
On Thu, 2012-06-07 at 11:38 -0400, Ben Collins wrote:
quoted
quoted
Note that oddly, the second range of bus addresses looks -more-
correct
quoted
than the first one...
Except that the first one is exactly the same bus address as my bare
metal system:

pci_bus 0000:00: root bus resource [io  0xffbeb000-0xffbfafff] (bus
address [0x100000000-0x10000ffff])

I only have one PCIe RAID card on the bare metal system. Not
surprising I never noticed the problem on it directly.
Can you show me the device-tree node for that PCI host bridge ?

It's a p4080ds, so it's in arch/powerpc/boot/

And that means that this bug affects a real hardware platform, so I think it makes it more valid to include it. The only reason it didn't affect me directly is because my only PCIe card doesn't have io, just mem BARs.

--
Bluecherry: http://www.bluecherrydvr.com/
SwissDisk : http://www.swissdisk.com/
Ubuntu    : http://www.ubuntu.com/
My Blog   : http://ben-collins.blogspot.com/

Attachments

Thread (17 messages) 17 messages, 5 authors, last reply 2012-06-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help