Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp418420imm; Thu, 5 Jul 2018 02:36:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcVgChoT9ZTS25HJ36Q1b0gze203BxtlZTaghEbRzZGQJMhPfno96Hm22weY0YR/zWQ/PTP X-Received: by 2002:a17:902:b18c:: with SMTP id s12-v6mr5414548plr.187.1530783387650; Thu, 05 Jul 2018 02:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530783387; cv=none; d=google.com; s=arc-20160816; b=uZJXnjOFCGTCIPaNlB3+yqFgYLQ3+2PsR4w95U08QlVt6qnZKPcYJpTIalJvU5ARVc NEHxpM+jGXEtL08o2t443UGl2ap9BC/1Vh8RQqav3XkgG0/14pTD+U7VkFFqHFTdIq5T KcfX7BKoAWI46OiT4GrcCwNZFba6JqO1cwIQUe+fz3edofCfqybxCOiWIu6w3xduIPFz WTOnb4wX8FL3ahwuhjAJntmCcyCf8ovL+wPSD/mLitF1RtmGdNUsB1EnL9H1TjyUy4GO Swr/TYoHNIPOwqjiRa0ogpIJnBBqsRv+qxJuTsZ6wgmR+1LCEJffGJ9SqUSFxjubZCgq UcBA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=E80XfWWuOUuLNIHYDTFIVsNCDfZ4pI4I4tzxM0ycr+c=; b=ozCbCGf27joksoVem6I6z+pdlUgORDkvbbDVPBiauwc9GgIdUPNwoZU10Lmg/enmfP HLUgXSCctQAgv+nX0nDl8vCe3ZEcI2FH7Ta7S7MaiNO8c1Dya6Far2/hW0V8zyA3bVBU 2+Q0o5OzC5oranu9gaCu5XsuIWhZRlEDOIlJKMuWelq2vj2kjIm5FiMG5vhjfwlmi9bV 6EOpDRKIZD7LHd/fAW9jOFhvqIvGRBocB/59ULTQ73Zl2pkYTM1SjuRsJG0XCpYKe8G8 uRI1ClbnsN4ykR5UXHLiErAhP+rFtYXFLZdsq1/slPP35iZM22QqbZK0ITUQkz7PHU5E Ynxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OYA6tgib; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9-v6si5253561pgu.636.2018.07.05.02.36.12; Thu, 05 Jul 2018 02:36:27 -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=fail header.i=@gmail.com header.s=20161025 header.b=OYA6tgib; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753519AbeGEJfC (ORCPT + 99 others); Thu, 5 Jul 2018 05:35:02 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:45086 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753134AbeGEJfA (ORCPT ); Thu, 5 Jul 2018 05:35:00 -0400 Received: by mail-oi0-f52.google.com with SMTP id m2-v6so15590837oim.12; Thu, 05 Jul 2018 02:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=E80XfWWuOUuLNIHYDTFIVsNCDfZ4pI4I4tzxM0ycr+c=; b=OYA6tgiba/5mRFjSNrbWwcGevqdLQsqjThpjV4EJLVDTERC4Rmx7Jwk6CMfbFN4aVo JqNGw1SXzCL0p/kHfRn9xnYKGbLNi7Y2HnP/p+rJakIEPise1ZN1eIMH9D5fOkFli8Cw pPPH19cdJ9OZ0DMOdM0GCdaqu0cHBLDrrdQk51QU8scOaksb3KGWyk+adb9rORjq72Fv 9ftJ9JJBlhSM0daM/RZA6vfCcFwYEfdER09pAaCZeeIE+LGMzx7nTzOeqq+CMm6Hd1IZ PiXwXOCFXP3VfwEa5cNSp88VXZco7K9LEbMW+P5vUtw9uTsC/P7YEivXLQ6cTuLW39Ql kcuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=E80XfWWuOUuLNIHYDTFIVsNCDfZ4pI4I4tzxM0ycr+c=; b=Uzjt8VmGNfXvM8onNx6lnCu6xhpi/PhqHphYMHFR1+SyhUdSUw45mjWv3eKbgqHjbS trWDwflarmz6mYtwNiBbQFvKbkSBAC3UtER3npkGaAOg4sg3uOuB3Px6n7YrkYN9dJQw +NSQUCnALcKuJmMpvGv3GzlB34tK0ugI368qbqsAu5+MbRqHMp898iNRdXlnWg/eMveL 9iPpeahh8DU4rcUuH5xNWKad5NqgC8bYZrTFO5gcHypHJYAD8iVaNb2nozPV0SU/Mq+i xpdSaTXS4FPVMI6wPut3i+DLRIvoJoyVmod6STSYkX0znXa6Ugv/gmBm+dKbTm4+2IEk aLrA== X-Gm-Message-State: APt69E2TzPscZVCL18Cg6SDu9jkY+kZcDMlOtvGFjdaLGM2vojdJCMi0 q5Rhg/UV/RyWCMv4pjZAOUV38yKasPpp9r1U7lY= X-Received: by 2002:aca:ad4f:: with SMTP id w76-v6mr6211233oie.233.1530783299834; Thu, 05 Jul 2018 02:34:59 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:63d2:0:0:0:0:0 with HTTP; Thu, 5 Jul 2018 02:34:59 -0700 (PDT) In-Reply-To: References: From: "Rafael J. Wysocki" Date: Thu, 5 Jul 2018 11:34:59 +0200 X-Google-Sender-Auth: UBe644fg3J_Vu2KqdHeqziTd7Dw Message-ID: Subject: Re: [REGRESSION 4.17] Spurious wakeup / reboot with power button To: Takashi Iwai Cc: "Rafael J. Wysocki" , =?UTF-8?Q?Thomas_H=C3=A4nig?= , Linux PM , Linux Kernel Mailing List 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 Hi, On Thu, Jul 5, 2018 at 9:05 AM, Takashi Iwai wrote: > Hi, > > we've got a regression report since 4.17 about the behavior of > power-off with the power button. When a machine is powered off with > the power button on desktop, it reboots after a few seconds instead of > power down. > > The manual power down via "systemctl poweroff" works fine, so it's > possibly some spurious wakeup by the power button action, and some > ACPI-related change is suspected. > The regression still remains in 4.18-rc3. There are only a few ACPI commits directly related to power management between 4.16 and 4.17 and none of them looks particularly suspicious. It looks like the power button state may not be cleared sufficiently after it's been pressed which is now visible for some reason. How does the button poweroff work, exactly? I guess the event is collected by a user space demon which then triggers power of via sysfs or similar? Thanks, Rafael