diff options
| author | Gavin Shan <[email protected]> | 2016-05-20 16:41:25 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-06-21 15:30:51 +1000 |
| commit | d366d28cd1325f11d582ec6d4a14b8329d3e1a20 (patch) | |
| tree | 294190afc61c7a8ab26c1a7e2b02fb311397261e /tools/perf/scripts/python | |
| parent | f8ab481066e7246e4b272233aa0b6948f5069f41 (diff) | |
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 <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions