Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2104220imu; Tue, 6 Nov 2018 09:08:29 -0800 (PST) X-Google-Smtp-Source: AJdET5dug9qC4Y6R2hwFNK/+6VXUP2m5aeTQs7c/V9PySv8eHr9twxlqT2O34MfWtR/4GSVS4ctv X-Received: by 2002:a63:1e5c:: with SMTP id p28mr24605591pgm.376.1541524109862; Tue, 06 Nov 2018 09:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541524109; cv=none; d=google.com; s=arc-20160816; b=MqI/6WGJsG7YOdEoE3FR8+sy8BJgjZ1JeYJ3sI+0tnqbSLs8TKr/joHYxElbtKoeKM pfMpe88P0KeGPKWF17u4V7djXdYVq5PhTLDCEsXlaS1YOhBjKTGHmhnodrGi0r1jzHWr ZyHbVEvZDoBvJdjIex3HrNareMiyCug20saz8mi4NiXpUxJcH99GyAZcUvSSRMscbEaZ 7R8tyv925fCdZ2VjI6ffv7ILwmZjJNeRvtWKUyJ86DOcgXvlVYIo52CbFnJAeGK/oxi/ rWrlndRQqoL6J2D2833l3xGudrWXqoyuGKozzSV2MzD5Yd6vizy8ZhU9DeZt2i+dSfwv J9hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=pgFg8FyxEKTR642L9tUE2yUePDEIJtxhV1p6ngglNPc=; b=BynD1gcRV21bGoLScUUC4IdO21iLTAQjTgStiOMhdy4Q0RQAIX7d7VLTyrEQe/2JJm VgJVXLoPDgqOFq+J8HCt31eP6XXpdJ9zmlOmKWLcQHYbnbdfGaZnGhOaVvgPLiA31+n5 UYY55mdUWoKlNSe/94CNUims15UUIz3yIC4sWVOeO+9l3cRbM8j96+3NRVZmbBRHVtHG X2K9jAlCJsX+rsnN1tk7A3NeEQoRXEE2xYtaSHP6NvUorbzhcnljQxpMZ4hnHQwIq8ct 3Tmcm4HEwtm3deFg6LW7YUCKINxq0LEh54ZW27S9tXb+bmk7cTUbUGSGHnIbGTVLwWS6 MMXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j128-v6si33525505pfg.238.2018.11.06.09.08.12; Tue, 06 Nov 2018 09:08:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389542AbeKGCdS (ORCPT + 99 others); Tue, 6 Nov 2018 21:33:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39536 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389396AbeKGCdS (ORCPT ); Tue, 6 Nov 2018 21:33:18 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B6CCEC049585; Tue, 6 Nov 2018 17:07:08 +0000 (UTC) Received: from vitty.brq.redhat.com.redhat.com (unknown [10.43.2.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8D8D2608E7; Tue, 6 Nov 2018 17:07:06 +0000 (UTC) From: Vitaly Kuznetsov To: "Rafael J. Wysocki" , Jiri Kosina Cc: Linux PM , "Rafael J. Wysocki" , kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, Dmitry Torokhov , linux-input@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH] hyper-v: Fix wakeup from suspend-to-idle In-Reply-To: References: <20180912161101.2634-1-vkuznets@redhat.com> Date: Tue, 06 Nov 2018 18:07:05 +0100 Message-ID: <87ftweuocm.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 06 Nov 2018 17:07:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Rafael J. Wysocki" writes: > On Mon, Sep 24, 2018 at 11:24 AM Jiri Kosina 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 >> > --- >> > drivers/hid/hid-hyperv.c | 2 +- >> >> Acked-by: Jiri Kosina >> >> for the above. I guess this'd better go through ACPI tree? > > No problem with that if you prefer. > It seems this patch got lost somewhere :-( -- Vitaly