android_kernel_samsung_msm8976/drivers/of
Kleber Sacilotto de Souza df6b8e747f of: fix PCI bus match for PCIe slots
commit 14e2abb732e485ee57d9d5b2cb8884652238e5c1 upstream.

On IBM pseries systems the device_type device-tree property of a PCIe
bridge contains the string "pciex". The of_bus_pci_match() function was
looking only for "pci" on this property, so in such cases the bus
matching code was falling back to the default bus, causing problems on
functions that should be using "assigned-addresses" for region address
translation. This patch fixes the problem by also looking for "pciex" on
the PCI bus match function.

v2: added comment

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-22 12:41:27 -08:00
..
address.c of: fix PCI bus match for PCIe slots 2014-02-22 12:41:27 -08:00
base.c
device.c
fdt.c
irq.c
Kconfig
Makefile
of_i2c.c
of_mdio.c
of_mtd.c
of_net.c
of_pci.c
of_pci_irq.c
of_private.h
pdt.c
platform.c
selftest.c