From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the "freeze" sleep state Date: Tue, 22 Jul 2014 11:42:31 +0200 Message-ID: <20140722094231.GI12054@laptop.lan> References: <1907495.agrCMfRsQN@vostro.rjw.lan> <9631666.En3K0jlGsY@vostro.rjw.lan> <20140722085538.GA3935@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20140722085538.GA3935@laptop> Sender: linux-pci-owner@vger.kernel.org To: "Rafael J. Wysocki" Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Linux PM list , Linux PCI , Zhang Rui List-Id: linux-acpi@vger.kernel.org On Tue, Jul 22, 2014 at 10:55:38AM +0200, 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. Is there anything I can provide > you with to make this easier? lspci output or anything like that? Also, I'm more than willing to get you early_printk() or ftrace logs for this. Except of course that early_printk() seems to not work throughout the freeze cycle as I've already reported. But given that I can wake the machine with the power button, I can get you trace logs.