Re: [PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the "freeze" sleep state

Peter Zijlstra
2014-07-22T09:42:31Z

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.