PCI: Don't auto-realloc if we're preserving firmware config
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 15 Jun 2019 00:23:58 +0000 (10:23 +1000)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Jun 2019 23:11:53 +0000 (18:11 -0500)
commit7ac0d094fbe95bf7cc96b3066a97e1090ddc734a
tree3210086341a37002e6bd5cd2a3b054cff71bf67e
parenta78cf9657ba5426f54aa93a067c10d097944c082
PCI: Don't auto-realloc if we're preserving firmware config

Prevent auto-enabling of bridges reallocation when the FW tells us that the
initial configuration must be preserved for a given host bridge.

Link: https://lore.kernel.org/r/20190615002359.29577-3-benh@kernel.crashing.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c