From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966226AbdGUAVC (ORCPT ); Thu, 20 Jul 2017 20:21:02 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:55625 "EHLO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965920AbdGUAU0 (ORCPT ); Thu, 20 Jul 2017 20:20:26 -0400 From: "Rafael J. Wysocki" To: Linux PM Cc: LKML Subject: [PATCH 0/4] PM / suspend: Suspend-to-idle core optimization Date: Fri, 21 Jul 2017 02:06:18 +0200 Message-ID: <1846472.PIoZyNk2cf@aspire.rjw.lan> User-Agent: KMail/4.14.10 (Linux/4.12.0-rc1+; KDE/4.14.9; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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