Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1041023ybx; Fri, 1 Nov 2019 15:42:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8b7Opdrqe8Av1LdxkB724XvNq0QZRno+zUCBH3TPODHY+aPmBOeu5MFNCSYelAO53FjIr X-Received: by 2002:a50:895c:: with SMTP id f28mr14956050edf.125.1572648139654; Fri, 01 Nov 2019 15:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572648139; cv=none; d=google.com; s=arc-20160816; b=JqF5QumeV6zz2qBLUM6qiVrlI5Y02UeoqkEaJHt+OQEtFUkehl/sgpOGA9hA96OCmU RH7Sellm1ooyVTJuj2SOI/1ZldMD0SzL9g2iLGalvNGbWxf7ckBW8Gn2/+v5ivsu5llO EQ14WBL8gDGoA6XxIraKUlw6h73XzZlkedrXGYsodImEkJP8g9pdzL1oWY1kzJqFzMys HSmZO9PAT3s2p0bAJ25z+rDuri3/MaKRLFQ9H8OWjtzr5q+MZ6OnTp/ATbkZ9Jvy6GW7 NIeA6SZ50BJQo4Xl+kJZVp1MtUlD9h+M7UnxmMefOdvrVwXBuAWPPL3c8AVKlj/nOR9D agLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CW5P3msthAEYEpcJCwNLHJI0AHwjUK9+moq8nW+j+gI=; b=V0o5KL9yrSLujIPn5c8EINYnMimIjYbpglgeSwc5PYLir0r4JG+jIKdZutupTUky8J JzXQzFiw6Ah3L3BNhREdU2KoK3RR+5Mj5G3N6Yy8Kki6YNkYfCae3hGAbq84LLnLaGgd tiTBcpdiiipzvYzhL9J2rcO+55OLGo4GgepBJIDEXLBp/RiD8JFWqDDWYVQhPafIZPqX WBb96loJelr+VqitlX7ApMq/bsZf9m1NreEROZkk60Z+3ZpSxrDzHx24iC+xv2JuKleb njTbbWVx9Mr9EcCO6qMoqhCpdeGf+CDXSohVOAbCFK6/eWCMPY2C+sT2zsbUMiigBdl6 SeUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NVHz9MPN; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n18si6352743ejz.83.2019.11.01.15.41.56; Fri, 01 Nov 2019 15:42:19 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NVHz9MPN; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727793AbfKAWj5 (ORCPT + 99 others); Fri, 1 Nov 2019 18:39:57 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43821 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727355AbfKAWj5 (ORCPT ); Fri, 1 Nov 2019 18:39:57 -0400 Received: by mail-lj1-f193.google.com with SMTP id y23so814994ljh.10 for ; Fri, 01 Nov 2019 15:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CW5P3msthAEYEpcJCwNLHJI0AHwjUK9+moq8nW+j+gI=; b=NVHz9MPNmEYvoVVSDtGjE9sibi06/7R6dS/cupiorDXcYX1YBdHDJxjGZJE1Z8YBGF xaZ6cY1OaC1bPjLiMmOwxMYyBjHvN1ezYW//Li/vpFZj1WsudhzRIEwPg9Q7BtQlLGJq kvIrnlIoDFwLct+Jfz2NH5yNULCDgumxeM2EJnZl8B6Ol032JhSvcKOQCqGdJxrmFwEB lirUhn1uHUXLUedG4fBainYrPQegJ5PpUnIDNOdAWgm5uY73MBZo0nhME/1Mz35+nJxH D8pe3bu5bGs1MxhWgbS9kbH+oH3v/jZgdS43b+qqWofE7h+wwKo3+BuHQevE/3WjO8oG Q9hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CW5P3msthAEYEpcJCwNLHJI0AHwjUK9+moq8nW+j+gI=; b=a41m3dbYfNpLjr/dHwMZNXBUR5032TZ8sVFowvMk6w5NVX9018Hrzchya2s6Nfe1TV zG6Ma48EdK0Jod0C7HnAUMMBgBqh4vDC8Rgg2aKwjYR0AXANCy71+k0tCj4LRgVTENjj JvG2Q035kQWEAZk9bcCbr+1GFTKaCXR07+dm65iNxCACn6zfv2VQ/RZ2zvYkwoAFX09v s2zb+OKGyihPTENMR6dB9TXFJzG4GDj3yA3vvJOkgeKrguq9zyolcli6pS0gMlg50mWM aHso8ff/iuOQeFbBX+ny1cQ8jw7TS4hQJVbiY1nEWoZ0C4c9lyGGayU3UtPjVzySWMm4 bv9Q== X-Gm-Message-State: APjAAAUcmx4cUaJKodBMw9S/C3IuCAnqXmpWBI1ydiU8EFGIRxRGCPho cRGNdWVF6ZrwXgDO7MMAqOpj7uqxnONmFdwTdmc= X-Received: by 2002:a05:651c:154:: with SMTP id c20mr9721034ljd.1.1572647994910; Fri, 01 Nov 2019 15:39:54 -0700 (PDT) MIME-Version: 1.0 References: <20191101212319.1FFC440EB1@dev-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com> In-Reply-To: <20191101212319.1FFC440EB1@dev-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com> From: Miguel Ojeda Date: Fri, 1 Nov 2019 23:39:43 +0100 Message-ID: Subject: Re: [PATCH] ACPICA: Enable sleep button on ACPI legacy wake To: Anchal Agarwal Cc: linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 1, 2019 at 10:25 PM Anchal Agarwal wrote: > > Currently we do not see sleep_enable bit set after guest resumes > from hibernation. Hibernation is triggered in guest on receiving > a sleep trigger from the hypervisor(S4 state). We see that power > button is enabled on wake up from S4 state however sleep button > isn't. This causes subsequent invocation of sleep state to fail > in the guest. Any environment going through acpi_hw_legacy_wake() > won't have sleep button enabled. > > Signed-off-by: Anchal Agarwal > Reviewed-by: Balbir Singh > Reviewed-by: Frank van der Linden Somehow this does not have recipients listed, CC'ing lkml. Cheers, Miguel