This patch connects SPARC PCIe into the generic PCIe framework enabling
MPS and MRRS to be set aggressively subject to the standard command line
flags. To enable put "pci=pcie_bus_perf" on command line.
Orabug:
21149334
Signed-off-by: Chris Hyser <chris.hyser@oracle.com>
(cherry picked from commit
5e5b08ede2c5b6cbf39e20f91097ca2435ea286e)
(cherry picked from commit
8b9a1855f68978d437605b0267ba448399303511)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
LIST_HEAD(resources);
struct device_node *node = pbm->op->dev.of_node;
struct pci_bus *bus;
+ struct pci_bus *child;
printk("PCI: Scanning PBM %s\n", node->full_name);
pci_claim_bus_resources(bus);
pci_register_legacy_regions(pbm);
pci_bus_add_devices(bus);
+
+ list_for_each_entry(child, &bus->children, node)
+ pcie_bus_configure_settings(child);
+
return bus;
}