Re: [PATCH v2 2/6] PCI / PM: Support for LEAVE_SUSPENDED driver flag

2017-11-08 Thread Rafael J. Wysocki
On Wed, Nov 8, 2017 at 9:38 PM, Bjorn Helgaas wrote: > On Wed, Nov 08, 2017 at 02:28:18PM +0100, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> Add support for DPM_FLAG_LEAVE_SUSPENDED to the PCI bus type by >> making it (a) set the power.may_skip_resume status bit for devices >> that,

Re: [PATCH v2 2/6] PCI / PM: Support for LEAVE_SUSPENDED driver flag

2017-11-08 Thread Bjorn Helgaas
On Wed, Nov 08, 2017 at 02:28:18PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Add support for DPM_FLAG_LEAVE_SUSPENDED to the PCI bus type by > making it (a) set the power.may_skip_resume status bit for devices > that, from its perspective, may be left in suspend after system >

[PATCH v2 2/6] PCI / PM: Support for LEAVE_SUSPENDED driver flag

2017-11-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add support for DPM_FLAG_LEAVE_SUSPENDED to the PCI bus type by making it (a) set the power.may_skip_resume status bit for devices that, from its perspective, may be left in suspend after system wakeup from sleep and (b) return early from pci_pm_resume_noirq() for devices