I am not yet convinced that it is necessary for pcie_port_device_remove() to call pci_disable_device() on PCIe Root Ports and Switch Ports during a reboot.
A similar question came during discussion of pciehp timeouts during shutdown [1]. Eric Biederman had a good response [2] that I haven't had time to assimilate yet.
I am not yet convinced that it is necessary for pcie_port_ device_ remove( ) to call pci_disable_ device( ) on PCIe Root Ports and Switch Ports during a reboot.
A similar question came during discussion of pciehp timeouts during shutdown [1]. Eric Biederman had a good response [2] that I haven't had time to assimilate yet.
[1] https://<email address hidden>
[2] https://<email address hidden>