lkml.org 
[lkml]   [2014]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the "freeze" sleep state
Date
On Saturday, July 19, 2014 10:36:53 PM Rafael J. Wysocki wrote:
> Hi,
>
> As per the subject, this is to make ACPI-based PCI wakeup (such as WoL on some
> systems among other things) work with the "freeze" sleep state. For this
> purpose ACPI wakeup GPEs need to be enabled for wakeup devices before
> freeze_enter() is called and it is best to do that when configuring devices
> for wakeup.
>
> [1/2] Always enable wakeup GPEs when configuring devices for wakeup
> [2/2] Rename one static function to avoid possible future confusion
>
> Thanks!

That turned out to be more challenging than I had thought initially.

The last version I sent was almost OK, but it had some issues (like it could
walk the PCI hierarchy before resuming any PCI devices during system resume),
so a new version follows. I did my best to avoid introducing any new problems
with it, but I obviously might overlook something.

It works for me and doesn't seem to break anything as far as I can say.

[1/3] Make PM workqueue available for CONFIG_PM_RUNTIME unset.
[2/3] Rework the handling of ACPI device wakeup notifications.
[3/3] Enable wakeup GPEs while setting up devices for wakeup during system
suspend too.

Thanks!

--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.


\
 
 \ /
  Last update: 2014-07-22 03:42    [W:0.249 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site