[v5,20/23] PCI: hotplug: movable BARs: Enable the feature by default
diff mbox series

Message ID 20190816165101.911-21-s.miroshnichenko@yadro.com
State Superseded
Delegated to: Bjorn Helgaas
Headers show
  • PCI: Allow BAR movement during hotplug
Related show

Commit Message

Sergey Miroshnichenko Aug. 16, 2019, 4:50 p.m. UTC
This is the last patch in the series which implements the essentials of the
Movable BARs feature, so it is turned by default now. Tested on:

 - x86_64 with "pci=realloc,assign-busses,use_crs,pcie_bus_peer2peer"
   command line argument;
 - POWER8 PowerNV+PHB3 ppc64le with "pci=realloc,pcie_bus_peer2peer".

In case of problems it is still can be overridden by the following command
line option:


Signed-off-by: Sergey Miroshnichenko <s.miroshnichenko@yadro.com>
 drivers/pci/pci-driver.c | 2 --
 1 file changed, 2 deletions(-)

diff mbox series

diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index d11909e79263..a8124e47bf6e 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -1688,8 +1688,6 @@  static int __init pci_driver_init(void)
 	int ret;
-	pci_add_flags(PCI_IMMOVABLE_BARS);
 	ret = bus_register(&pci_bus_type);
 	if (ret)
 		return ret;