Gavin Shan d366d28cd1 PCI: Add pcibios_setup_bridge()
Currently, PowerPC PowerNV platform utilizes ppc_md.pcibios_fixup(),
which is called for once after PCI probing and resource assignment
are completed, to allocate platform required resources for PCI devices:
PE#, IO and MMIO mapping, DMA address translation (TCE) table etc.
Obviously, it's not hotplug friendly.

This adds weak function pcibios_setup_bridge(), which is called by
pci_setup_bridge(). PowerPC PowerNV platform will reuse the function
to assign above platform required resources to newly plugged PCI devices
during PCI hotplug in subsequent patches.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-06-21 15:30:51 +10:00
..
2016-05-20 10:12:41 -07:00
2015-08-13 15:59:59 -05:00
2016-03-19 15:38:41 -07:00
2016-01-21 11:52:16 -08:00
2014-06-10 20:20:19 -06:00
2014-06-10 20:20:19 -06:00
2016-03-15 08:56:28 -05:00
2016-06-21 15:30:51 +10:00
2014-06-10 20:20:19 -06:00