On Thu, Apr 28, 2016 at 05:31:58PM +0200, Rafael J. Wysocki wrote: > > Hmm, PM core calls pci_pm_runtime_resume() for PCI drivers which then > > delegates to driver->runtime_resume() if set. However, if it is missing > > it just returns -ENOSYS and does not put the device back to D0. > > > > So if I'm reading this right we actually need to provide > > pcie_port_runtime_resume(). > > You do, but it could just return 0. > > The suggestion seems to be that pm_runtime_mark_last_busy() is not > needed as the core will invoke it anyway. Ah, got it now. Thanks for the clarification! -- 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