Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1184775

[PATCH v4 0/3]

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Tomeu Vizoso <tomeu.vizoso@collabora.com>
Newsgroups linux.kernel
Subject [PATCH v4 0/3]
Date Wed, 15 Jul 2015 14:50:02 +0200
Message-ID <pMuil-7LZ-3@gated-at.bofh.it> (permalink)
X-Original-To linux-pm@vger.kernel.org, Alan Stern <stern@rowland.harvard.edu>, "Rafael J. Wysocki" <rjw@rjwysocki.net>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=tO7d7HqzNjXSjdjy3Y37y8r2lDBpzNMH/gyhaZZtYHk=; b=HK8g5PteHRdIwWfoiylAA2knMqvYnJtgVWBFmFiPq8sptGtp8Ew6CqPbxTEsdKUEGm tnr/yGmOr8vex2Zy+I5VtDfE9dCDwEs/0pSlRT5zSKRZllLka1G8EKxq0fKW3w+mvlnb D4MKVAUFcbWCIGM58axapZ2Jmw5/UL/SqaGzQ5AwPkho/mrWfC6DplSyJepVRA4O6v7i 7CICvDw0VFvDWrjD8RQFj4gFXBzrh/vpUu86B2vY7Oep+INYT5KeXz4kZh05jk6utEBb sePjJdKLIB9AwC1Co0anU9sbe5/jYR+mh1mD+eTeS/Ai5wLWp38K3ZR8zXpFFdHRa/gA iQgA==
X-Received by 10.180.87.230 with SMTP id bb6mr15181176wib.36.1436964246502; Wed, 15 Jul 2015 05:44:06 -0700 (PDT)
X-Mailer git-send-email 2.4.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 45
Organization linux.* mail to news gateway
X-Original-Cc Tomeu Vizoso <tomeu.vizoso@collabora.com>, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown <len.brown@intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Pavel Machek <pavel@ucw.cz>
X-Original-Date Wed, 15 Jul 2015 14:40:05 +0200
X-Original-Message-ID <1436964008-15151-1-git-send-email-tomeu.vizoso@collabora.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1184775

Show key headers only | View raw


Hi,

this is v4 of an attempt to make easier for devices to remain in runtime
PM when the system ges to sleep, mainly to reduce the time spent
resuming devices.

In this version there's a patch from Alan that relaxes the conditions
that allow a device to go directly to the complete phase, thus allowing
its ancestors to do the same.

Also, we interpret the absence of all PM callback implementations as
being safe to do direct_complete as well.

With these changes, a uvcvideo device (for example) stays in runtime
suspend when the system goes to sleep and is left in that state when the
system resumes, not delaying it unnecessarily.

Thanks,

Tomeu


Alan Stern (1):
  PM / sleep: Allow devices without runtime PM to do direct-complete

Tomeu Vizoso (2):
  PM / sleep: Go direct_complete if driver has no callbacks
  USB / PM: Allow USB devices to remain runtime-suspended when sleeping

 Documentation/power/devices.txt    |  7 +++++++
 Documentation/power/runtime_pm.txt |  4 ----
 drivers/base/power/main.c          | 19 ++++++++++++++++++-
 drivers/usb/core/port.c            |  6 ++++++
 drivers/usb/core/usb.c             | 11 ++++++++++-
 include/linux/pm_runtime.h         |  6 ------
 6 files changed, 41 insertions(+), 12 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 0/3]  Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2015-07-15 14:50 +0200

csiph-web