[v10,01/18] PCI: Add pcibios_setup_bridge()
Michael Ellerman
mpe at ellerman.id.au
Tue Jun 21 22:27:15 AEST 2016
On Fri, 2016-20-05 at 06:41:25 UTC, Gavin Shan wrote:
> 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 at linux.vnet.ibm.com>
> Acked-by: Bjorn Helgaas <bhelgaas at google.com>
Entire series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/d366d28cd1325f11d582ec6d4a
cheers
More information about the Linuxppc-dev
mailing list