Messages in this thread | | | From | "Rafael J. Wysocki" <> | Date | Tue, 25 Sep 2018 00:49:16 +0200 | Subject | Re: [PATCH] hyper-v: Fix wakeup from suspend-to-idle |
| |
On Mon, Sep 24, 2018 at 11:24 AM Jiri Kosina <jikos@kernel.org> wrote: > > On Wed, 12 Sep 2018, Vitaly Kuznetsov wrote: > > > It makes little sense but still possible to put Hyper-V guests into > > suspend-to-idle state. To wake them up two wakeup sources were registered > > in the past: hyperv-keyboard and hid-hyperv. However, since > > commit eed4d47efe95 ("ACPI / sleep: Ignore spurious SCI wakeups from > > suspend-to-idle") pm_wakeup_event() from these devices is ignored. Switch > > to pm_wakeup_hard_event() API as these devices are actually the only > > possible way to wakeup Hyper-V guests. > > > > Fixes: eed4d47efe95 (ACPI / sleep: Ignore spurious SCI wakeups from suspend-to-idle) > > Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> > > --- > > drivers/hid/hid-hyperv.c | 2 +- > > Acked-by: Jiri Kosina <jkosina@suse.cz> > > for the above. I guess this'd better go through ACPI tree?
No problem with that if you prefer.
Cheers, Rafael
| |