summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>2014-02-03 13:31:03 -0200
committerBen Hutchings <ben@decadent.org.uk>2014-04-02 00:58:48 +0100
commit99ea864bc2c999bab93729d83f7eef40c2a95754 (patch)
treed557e4f714f243184957c6b6877f5d172f0ed20a /security
parent57200657f1cd8d9d579ee4b110c7eeada3e61d0d (diff)
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions