From patchwork Tue Feb 16 19:50:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manoj Iyer X-Patchwork-Id: 45559 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id C1500B7D5E for ; Wed, 17 Feb 2010 06:49:19 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NhTQ3-0005Ph-Q4; Tue, 16 Feb 2010 19:49:15 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NhTQ2-0005Pb-5I for kernel-team@lists.ubuntu.com; Tue, 16 Feb 2010 19:49:14 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NhTQ2-0006Xw-3u for ; Tue, 16 Feb 2010 19:49:14 +0000 Received: from [70.114.236.114] (helo=hungry.local) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NhTQ1-0000xI-Pj for kernel-team@lists.ubuntu.com; Tue, 16 Feb 2010 19:49:14 +0000 Date: Tue, 16 Feb 2010 13:50:12 -0600 (CST) From: Manoj Iyer To: Ubuntu Kernel Team Subject: [LUCID 3/3] request-pull suspend/resume report Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Manoj Iyer List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com The following changes since commit 4b876bd4ad82fb8866fcf8724514c80ebc158f1d: Andy Whitcroft (1): UBUNTU: ensure we build the source package contents when enabled are available in the git repository at: ssh://zinc.canonical.com/srv/kernel.ubuntu.com/git/manjo/ubuntu-lucid.git pmsrtime Manoj Iyer (2): UBUNTU: SAUCE: PM report driver and device suspend/resume times. UBUNTU: [Config] added new config option CONFIG_SR_REPORT_TIME_LIMIT Rafael J. Wysocki (1): PM: Measure device suspend and resume times debian.master/config/config.common.ubuntu | 1 + drivers/Kconfig | 2 ++ drivers/base/power/Kconfig | 6 ++++++ drivers/base/power/main.c | 26 ++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 drivers/base/power/Kconfig From 22856a4a50068f7cd186f3eacceec81ca72a4d80 Mon Sep 17 00:00:00 2001 From: Manoj Iyer Date: Tue, 16 Feb 2010 13:41:35 -0600 Subject: [PATCH 3/3] UBUNTU: [Config] added new config option CONFIG_SR_REPORT_TIME_LIMIT The new config option can be used to set the lower limit value for which suspend/resume times will be printed. Default is set to 100msecs. Signed-off-by: Manoj Iyer --- debian.master/config/config.common.ubuntu | 1 + drivers/Kconfig | 2 ++ drivers/base/power/Kconfig | 6 ++++++ 3 files changed, 9 insertions(+), 0 deletions(-) create mode 100644 drivers/base/power/Kconfig diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu index 94e6614..e598d6a 100644 --- a/debian.master/config/config.common.ubuntu +++ b/debian.master/config/config.common.ubuntu @@ -3711,6 +3711,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_SQUASHFS=m # CONFIG_SQUASHFS_EMBEDDED is not set CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 +CONFIG_SR_REPORT_TIME_LIMIT=100 CONFIG_SSB=m # CONFIG_SSB_DEBUG is not set CONFIG_SSB_DRIVER_PCICORE=y diff --git a/drivers/Kconfig b/drivers/Kconfig index 48bbdbe..1d97691 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -4,6 +4,8 @@ menu "Device Drivers" source "drivers/base/Kconfig" +source "drivers/base/power/Kconfig" + source "drivers/connector/Kconfig" source "drivers/mtd/Kconfig" diff --git a/drivers/base/power/Kconfig b/drivers/base/power/Kconfig new file mode 100644 index 0000000..46d6ead --- /dev/null +++ b/drivers/base/power/Kconfig @@ -0,0 +1,6 @@ +config SR_REPORT_TIME_LIMIT + int "Default low threshold" + default 100 + help + Print suspend/resume information for driver/device for time greater + then default msec, ie 100 msec.