[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9631666.En3K0jlGsY@vostro.rjw.lan>
Date: Tue, 22 Jul 2014 03:23:29 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: ACPI Devel Maling List <linux-acpi@...r.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux PM list <linux-pm@...r.kernel.org>,
Linux PCI <linux-pci@...r.kernel.org>,
Zhang Rui <rui.zhang@...el.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: [PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the "freeze" sleep state
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists