Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752686AbdF0Kyl (ORCPT ); Tue, 27 Jun 2017 06:54:41 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:37509 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752271AbdF0Kyb (ORCPT ); Tue, 27 Jun 2017 06:54:31 -0400 MIME-Version: 1.0 In-Reply-To: References: <1979543.KIEJ8uyRaT@aspire.rjw.lan> <3689795.xuIczRHZsl@aspire.rjw.lan> <2026371.DVJN39QYJi@aspire.rjw.lan> <2368998.dmCsnrcXZy@aspire.rjw.lan> From: Tom Lanyon Date: Tue, 27 Jun 2017 20:54:08 +1000 Message-ID: Subject: Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems To: Andy Shevchenko Cc: "Rafael J. Wysocki" , Linux ACPI , Linux PM , Andy Shevchenko , Darren Hart , LKML , Srinivas Pandruvada , Mika Westerberg , Mario Limonciello , =?UTF-8?B?SsOpcsO0bWUgZGUgQnJldGFnbmU=?= , "Zheng, Lv" , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1064 Lines: 22 On 27 June 2017 at 16:47, Andy Shevchenko wrote: > Tom, thanks for this. > I would speculate that the problem might be in the certain device > drivers. It would be nice to get statistics which wakeup source > generates more hits. Is this something I can determine without CONFIG_ACPI_DEBUG being enabled? I don't get anything in dmesg other than indications that it's resuming and then sleeping again every second or so. [ 45.463907] PM: Suspending system (freeze) [ 47.703216] PM: suspend of devices complete after 2028.170 msecs [ 47.721329] PM: late suspend of devices complete after 18.108 msecs [ 47.723153] ACPI : EC: interrupt blocked [ 47.757801] PM: noirq suspend of devices complete after 35.746 msecs [ 47.757802] PM: suspend-to-idle [ 48.944708] Suspended for 0.779 seconds [ 48.945030] ACPI : EC: interrupt unblocked [ 48.980728] PM: noirq resume of devices complete after 35.924 msecs [ 48.982265] ACPI : EC: interrupt blocked [ 49.027946] PM: noirq suspend of devices complete after 47.016 msecs