From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754058AbaGVMEp (ORCPT ); Tue, 22 Jul 2014 08:04:45 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:56755 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751290AbaGVMEn (ORCPT ); Tue, 22 Jul 2014 08:04:43 -0400 From: "Rafael J. Wysocki" To: Peter Zijlstra Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Linux PM list , Linux PCI , Zhang Rui Subject: Re: [PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the "freeze" sleep state Date: Tue, 22 Jul 2014 14:23:03 +0200 Message-ID: <2866134.Da8PQoU0sW@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.16.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20140722085538.GA3935@laptop> References: <1907495.agrCMfRsQN@vostro.rjw.lan> <9631666.En3K0jlGsY@vostro.rjw.lan> <20140722085538.GA3935@laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, July 22, 2014 10:55:38 AM Peter Zijlstra wrote: > On Tue, Jul 22, 2014 at 03:23:29AM +0200, Rafael J. Wysocki wrote: > > > That turned out to be more challenging than I had thought initially. > > > > The last version I sent was almost OK, but it had some issues (like it could > > walk the PCI hierarchy before resuming any PCI devices during system resume), > > so a new version follows. I did my best to avoid introducing any new problems > > with it, but I obviously might overlook something. > > > > It works for me and doesn't seem to break anything as far as I can say. > > > > [1/3] Make PM workqueue available for CONFIG_PM_RUNTIME unset. > > [2/3] Rework the handling of ACPI device wakeup notifications. > > [3/3] Enable wakeup GPEs while setting up devices for wakeup during system > > suspend too. > > Doesn't break, doesn't 'work' either. This probably means that WoL on that machine is not ACPI-based. > Is there anything I can provide you with to make this easier? lspci output > or anything like that? Yes, /proc/interrupts from the machine in question would help to start with. Also /sys/kernel/debug/wakeup_sources (if /sys/kernel/debug/ is where your debugfs lives) before and after a "freeze" with an attempt to use WoL to wake it up. Rafael