]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: I/O and memory alignment for P2P bridges
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 11 Sep 2012 22:59:47 +0000 (16:59 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Sep 2012 22:59:47 +0000 (16:59 -0600)
commit59649f3130cb4a8feffea9129bab7526fe7df145
tree5f01f24a2e6121f61d9a3a106d6e9edf52e60315
parent42a181f8006a30ede2cbf537714304a4c850e640
powerpc/powernv: I/O and memory alignment for P2P bridges

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: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/powerpc/platforms/powernv/pci-ioda.c