powerpc/powernv: Group VF PE when IOV BAR is big on PHB3
commit02639b0e1326c3eff88d74fde6b5dbd04ace564e
authorWei Yang <weiyang@linux.vnet.ibm.com>
Wed, 25 Mar 2015 08:23:59 +0000 (25 16:23 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 31 Mar 2015 02:02:38 +0000 (31 13:02 +1100)
tree643bce3715fdd8f607c88cc6d8e44e0c41448b6e
parent5b88ec228498b7d41de6599eca12cc0032056e3f
powerpc/powernv: Group VF PE when IOV BAR is big on PHB3

When IOV BAR is big, each is covered by 4 M64 windows.  This leads to
several VF PE sits in one PE in terms of M64.

Group VF PEs according to the M64 allocation.

[bhelgaas: use dev_printk() when possible]
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/platforms/powernv/pci-ioda.c