Re: [PATCH] PPC: PCI: Fix pcibios_io_space_offset() so it works for 32-bit ptr/64-bit rsrcs
flat view
From: Ben Collins <hidden>
Date: 2012-06-07 15:39:04
On Jun 7, 2012, at 5:30 AM, Benjamin Herrenschmidt wrote:
On Wed, 2012-06-06 at 19:35 -0400, Ben Collins wrote:quoted
=20 pci_bus 0000:00: root bus resource [io 0xffbed000-0xffbfcfff] (bus address [0x100000000-0x10000ffff]) =20 Without the fix that I sent, it ends up looking like: =20 pci_bus 0000:00: root bus resource [io 0xffbed000-0xffbfcfff] (bus address [0x0000-0xffff]) =20 And that's when some devices fail to be assigned valid bar 0's and =
the
quoted
kernel complains because of it.=20 Note that oddly, the second range of bus addresses looks -more- =
correct
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.
Cheers, Ben. =20 =20
-- Ben Collins Servergy, Inc. (757) 243-7557 CONFIDENTIALITY NOTICE: This communication contains privileged and/or = confidential information; and should be maintained with the strictest = confidence. It is intended solely for the use of the person or entity in = which it is addressed. If you are not the intended recipient, you are = STRICTLY PROHIBITED from disclosing, copying, distributing or using any = of this information. If you received this communication in error, please = contact the sender immediately and destroy the material in its entirety, = whether electronic or hard copy.