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
..
Kconfig
Makefile
address.c of: fix PCI bus match for PCIe slots 2014-02-22 12:41:27 -08:00
base.c of: Fix missing memory initialization on FDT unflattening 2013-09-26 17:18:29 -07:00
device.c
fdt.c of: fdt: fix memory initialization for expanded DT 2013-08-29 09:47:37 -07:00
irq.c
of_i2c.c
of_mdio.c net: of_mdio: fix behavior on missing phy device 2013-05-08 13:13:29 -07:00
of_mtd.c
of_net.c
of_pci.c
of_pci_irq.c
of_private.h
pdt.c
platform.c
selftest.c