summaryrefslogtreecommitdiff
path: root/crypto/async_tx
diff options
context:
space:
mode:
authorAndreas Noever <andreas.noever@gmail.com>2014-01-23 20:59:25 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2014-02-11 00:12:45 (GMT)
commit1820ffdccb9b4398c5f0f70360edc68e039c3c72 (patch)
treee8a5b0c822e36c98e89989337fc86b89888a5ebc /crypto/async_tx
parentced04d15519a15d38b46162b94a1f26b4022116e (diff)
downloadlinux-1820ffdccb9b4398c5f0f70360edc68e039c3c72.tar.xz
PCI: Make sure bus number resources stay within their parents bounds
Right now we use 0xff for busn_res.end when probing and later reduce it to the value that is actually used. This does not work if a parent bridge has already a lower subordinate value. For example during hotplug of a new bridge below an already-configured bridge the following message is printed from pci_bus_insert_busn_res(): pci_bus 0000:06: busn_res: can not insert [bus 06-ff] under [bus 05-9b] (conflicts with (null) [bus 05-9b]) This patch clamps the bus range to that of the parent and also ensures that we do not exceed the parents range when assigning the final subordinate value. We also check that busses configured by the firmware fit into their parents bounds. [bhelgaas: reword dev_warn() and fix printk format warning] Signed-off-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'crypto/async_tx')
0 files changed, 0 insertions, 0 deletions