Re: [PATCH v8 00/61] PCI: Resource allocation cleanup for v4.4

From: Yinghai Lu
Date: Fri Oct 30 2015 - 21:54:02 EST


On Fri, Oct 30, 2015 at 2:47 PM, Khalid Aziz <khalid.aziz@xxxxxxxxxx> wrote:
>
> I applied patches 1-8 and 11-16 to 4.3.0-rc7 to test on sparc platforms. I
> am seeing a "can't claim BAR" message on a T4:
>
> pci 0000:04:00.0: can't claim BAR 6 [mem 0x84000000000-0x8400000ffff]:
> address conflict with 0000:04:00.0 [mem 0x84000000000-0x840007fffff]

PCI: scan_bus[/pci@400/pci@1/pci@0/pci@0/pci@0] bus no 4
* /pci@400/pci@1/pci@0/pci@0/pci@0/display@0
create device, devfn: 0, type: display
class: 0x30000 device name: 0000:04:00.0
parse addresses (80 bytes) @ fff8001fffe34f40
start: 84000000000, end: 840007fffff, i: 10
start: 84000800000, end: 8400081ffff, i: 14
start: 85100000000, end: 8510000007f, i: 18
start: 84000000000, end: 8400000ffff, i: 30

so the BAR 6 the ROM bar is overlapping with BAR0.
and the ROM bar get rejected.

Looks like only the device BAR6 is not assigned form OF?

Thanks

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/