Re: [PATCH] pci: Updates to Rafael's runtime PCI PM patch set

From: Rafael J. Wysocki
Date: Wed Nov 11 2009 - 15:46:42 EST


On Wednesday 11 November 2009, Matthew Garrett wrote:
> On Wed, Nov 11, 2009 at 08:58:20PM +0100, Rafael J. Wysocki wrote:
>
> > The PME was supposed to be turned on by pci_prepare_to_sleep().
> > I guess it wasn't in practice?
>
> Only if the device is set as a wakeup device, which seems messy.

Right. Plus there was an implicit assumption that devices which could wake up
would also be able to generate PME at run time. It turns out that that need
not be the case, though.

> Though there may need to be a check there to avoid duplicate PME setup.

Hmm, I need to think about that for a while.

> > Generally, some parts of it belong to the
> > "PCI PM: Run-time callbacks for PCI bus type" patch and the others belong
> > to "PCI / ACPI PM: Platform support for PCI PME wake-up" patch. Should I fold
> > the changes into them?
>
> Feel free!

OK, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/