This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCIe RC Driver fails when connected to switch (fails to assing resource for io)

In EZSDK 5_03_01_15, when PCIe on DM8168 is connected to to a switch the RC driver fails to assign memory to the switch for I/O. The boot log looks as follows:

ti81xx_pcie: Invoking PCI BIOS...

ti81xx_pcie: Setting up Host Controller...

ti81xx_pcie: Register base mapped @0xcb820000

ti81xx_pcie: Starting PCI scan...

pci 0000:00:00.0: [104c:8888] type 1 class 0x000604

PCI: bus0: Fast back to back transfers disabled

pci 0000:01:00.0: [10b5:8605] type 1 class 0x000604

pci 0000:01:00.0: reg 10: [mem 0x00000000-0x00003fff]

pci 0000:01:00.0: supports D1 D2

pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:01:00.0: PME# disabled

PCI: bus1: Fast back to back transfers disabled

pci 0000:02:02.0: [10b5:8605] type 1 class 0x000604

pci 0000:02:02.0: supports D1 D2

pci 0000:02:02.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:02:02.0: PME# disabled

pci 0000:02:03.0: [10b5:8605] type 1 class 0x000604

pci 0000:02:03.0: supports D1 D2

pci 0000:02:03.0: PME# supported from D0 D1 D2 D3hot D3cold

pci 0000:02:03.0: PME# disabled

PCI: bus2: Fast back to back transfers disabled

PCI: bus3: Fast back to back transfers enabled

PCI: bus4: Fast back to back transfers enabled

pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x202fffff]

pci 0000:00:00.0: BAR 9: assigned [mem 0x20300000-0x204fffff pref]

pci 0000:00:00.0: BAR 7: can't assign io (size 0x1000)

pci 0000:01:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]

pci 0000:01:00.0: BAR 9: assigned [mem 0x20300000-0x204fffff 64bit pref]

pci 0000:01:00.0: BAR 0: assigned [mem 0x20200000-0x20203fff]

pci 0000:01:00.0: BAR 0: set to [mem 0x20200000-0x20203fff] (PCI address [0x20200000-0x20203fff])

pci 0000:01:00.0: BAR 7: can't assign io (size 0x1000)

pci 0000:02:02.0: BAR 8: assigned [mem 0x20000000-0x201fffff]

pci 0000:02:02.0: BAR 9: assigned [mem 0x20300000-0x204fffff 64bit pref]

pci 0000:02:02.0: BAR 7: can't assign io (size 0x1000)

pci 0000:02:02.0: PCI bridge to [bus 03-03]

pci 0000:02:02.0:   bridge window [io  disabled]

pci 0000:02:02.0:   bridge window [mem 0x20000000-0x201fffff]

pci 0000:02:02.0:   bridge window [mem 0x20300000-0x204fffff 64bit pref]

pci 0000:02:03.0: PCI bridge to [bus 04-04]

pci 0000:02:03.0:   bridge window [io  disabled]

pci 0000:02:03.0:   bridge window [mem disabled]

pci 0000:02:03.0:   bridge window [mem pref disabled]

pci 0000:01:00.0: PCI bridge to [bus 02-04]

pci 0000:01:00.0:   bridge window [io  disabled]

pci 0000:01:00.0:   bridge window [mem 0x20000000-0x201fffff]

pci 0000:01:00.0:   bridge window [mem 0x20300000-0x204fffff 64bit pref]

pci 0000:00:00.0: PCI bridge to [bus 01-04]

pci 0000:00:00.0:   bridge window [io  disabled]

pci 0000:00:00.0:   bridge window [mem 0x20000000-0x202fffff]

pci 0000:00:00.0:   bridge window [mem 0x20300000-0x204fffff pref]

PCI: enabling device 0000:00:00.0 (0140 -> 0143)

PCI: enabling device 0000:01:00.0 (0140 -> 0143)

PCI: enabling device 0000:02:02.0 (0140 -> 0143)

PCI: enabling device 0000:02:03.0 (0140 -> 0143)

pci_bus 0000:00: resource 0 [mem 0x20000000-0x2fffffff]

pci_bus 0000:00: resource 1 [io  0x40000000-0x402fffff] ß Root Complex says resource is available !!??  

pci_bus 0000:01: resource 1 [mem 0x20000000-0x202fffff]

pci_bus 0000:01: resource 2 [mem 0x20300000-0x204fffff pref]

pci_bus 0000:02: resource 1 [mem 0x20000000-0x201fffff]

pci_bus 0000:02: resource 2 [mem 0x20300000-0x204fffff 64bit pref]

pci_bus 0000:03: resource 1 [mem 0x20000000-0x201fffff]

pci_bus 0000:03: resource 2 [mem 0x20300000-0x204fffff 64bit pref]

pci 0000:00:00.0: BAR 7: can't assign io (size 0x1000)

pci 0000:01:00.0: BAR 7: can't assign io (size 0x1000)

pci 0000:02:02.0: BAR 7: can't assign io (size 0x1000)