mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Linux PM <linux-pm@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/4] PM / suspend: Suspend-to-idle core optimization
Date: Fri, 21 Jul 2017 02:06:18 +0200	[thread overview]
Message-ID: <1846472.PIoZyNk2cf@aspire.rjw.lan> (raw)

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

             reply	other threads:[~2017-07-21  0:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21  0:06 Rafael J. Wysocki [this message]
2017-07-21  0:07 ` [PATCH 1/4] PM / s2idle: Rearrange the main suspend-to-idle loop Rafael J. Wysocki
2017-07-21  0:09 ` [PATCH 2/4] PM / core: Split dpm_suspend_noirq() and dpm_resume_noirq() Rafael J. Wysocki
2017-07-21  0:10 ` [PATCH 3/4] PM / core: Add error argument to dpm_show_time() Rafael J. Wysocki
2017-07-21  0:12 ` [PATCH 4/4] PM / sleep: Check pm_wakeup_pending() in __device_suspend_noirq() Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1846472.PIoZyNk2cf@aspire.rjw.lan \
    --to=rjw@rjwysocki.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®