diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-12-18 16:31:39 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-07 16:24:33 -0700 |
commit | 36e097a8a29761e0e2c951c0390f1057df248a87 (patch) | |
tree | 871b8d7d1a029f3cf0e1deaa648c813738b9bbea /kernel | |
parent | 167b1f049008b367a9003a6a8df090af4282a6b0 (diff) | |
download | talos-obmc-linux-36e097a8a29761e0e2c951c0390f1057df248a87.tar.gz talos-obmc-linux-36e097a8a29761e0e2c951c0390f1057df248a87.zip |
PCI: Split out bridge window override of minimum allocation address
pci_bus_alloc_resource() avoids allocating space below the "min" supplied
by the caller (usually PCIBIOS_MIN_IO or PCIBIOS_MIN_MEM). This is to
protect badly documented motherboard resources. But if we're allocating
space inside an already-configured PCI-PCI bridge window, we ignore "min".
See 688d191821de ("pci: make bus resource start address override minimum IO
address").
This patch moves the check to make it more visible and simplify future
patches. No functional change.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions