[PATCH 0/4] PM / suspend: Suspend-to-idle core optimization

From: Rafael J. Wysocki
Date: Thu Jul 20 2017 - 20:21:33 EST


Hi,

This series is on top of the one I sent a couple of days ago:

http://marc.info/?l=linux-pm&m=150042550025820&w=2

but it is mostly independent of that one.

Basically, it restores the pm_wakeup_pending() check in __suspend_device_noirq()
removed recently, which may avoid unnecessary device ping-pong if there's a
wakeup event during "noirq" suspend, and makes suspend-to-idle take that check
into account (it actually matters more for suspend-to-idle, because it may carry out
"noirq" phases of device suspend/resume for multiple times in one cycle).

It also makes debug messages from the core device suspend/resume code look
better on failures (or when operations are aborted by pending wakeup events).

Thanks,
Rafael