• Gavin Shan's avatar
    powerpc/powernv: I/O and memory alignment for P2P bridges · 271fd03a
    Gavin Shan authored
    The patch implements ppc_md.pcibios_window_alignment for powernv
    platform so that the resource reassignment in PCI core will be
    done according to the I/O and memory alignment returned from
    powernv platform. The alignments returned from powernv platform
    is closely depending on the scheme for PE segmenting. Besides,
    the patch isn't useful for now, but the subsequent patches will
    be working based on it.
    
    [bhelgaas: use pci_pcie_type() since pci_dev.pcie_type was removed]
    Signed-off-by: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
    Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
    271fd03a
pci-ioda.c 36.9 KB