On Fri, Mar 11, 2016 at 06:01:11PM -0600, Bjorn Helgaas wrote: > On Mon, Feb 29, 2016 at 02:56:01PM +0200, Mika Westerberg wrote: > > PCIe ports are already skipped by the PCI core so they are never moved to > > D3 (or D3cold) anyway. No need to set the field. > > A pointer to where the PCI core skips these ports would be helpful. > pci_pm_runtime_suspend() is the only place I see that tests d3cold_allowed, > and I don't see that it checks anything about PCIe ports. Right, sorry about that. The changelog should say that the PCI core skips PCI bridges and PCIe ports. The relevant code is in drivers/pci/pci-driver.c:pci_pm_suspend_noirq(): if (!pci_dev->state_saved) { pci_save_state(pci_dev); if (!pci_has_subordinate(pci_dev)) pci_prepare_to_sleep(pci_dev); } It checks if the device has subordinate devices if not moves the device to low power state. -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html