From patchwork Fri Sep 2 13:13:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Pihet X-Patchwork-Id: 1121922 Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p82DFbdr023597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 2 Sep 2011 13:15:57 GMT Received: from daredevil.linux-foundation.org (localhost [127.0.0.1]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p82DE6Uu009376; Fri, 2 Sep 2011 06:14:06 -0700 Received: from mail-wy0-f175.google.com (mail-wy0-f175.google.com [74.125.82.175]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id p82DDjvB009077 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Fri, 2 Sep 2011 06:13:57 -0700 Received: by mail-wy0-f175.google.com with SMTP id 19so2339554wyf.6 for ; Fri, 02 Sep 2011 06:13:57 -0700 (PDT) Received: by 10.227.206.210 with SMTP id fv18mr1101457wbb.20.1314969237158; Fri, 02 Sep 2011 06:13:57 -0700 (PDT) Received: from localhost.localdomain (201.92-66-87.adsl-dyn.isp.belgacom.be [87.66.92.201]) by mx.google.com with ESMTPS id b3sm1657630wbp.10.2011.09.02.06.13.54 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Sep 2011 06:13:55 -0700 (PDT) From: Jean Pihet To: Kevin Hilman , Linux PM mailing list , linux-omap@vger.kernel.org, "Rafael J. Wysocki" , Paul Walmsley , , Todd Poynor Date: Fri, 2 Sep 2011 15:13:24 +0200 Message-Id: <1314969204-21704-9-git-send-email-j-pihet@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1314969204-21704-1-git-send-email-j-pihet@ti.com> References: <1314969204-21704-1-git-send-email-j-pihet@ti.com> Received-SPF: pass (localhost is always allowed.) X-Spam-Status: No, hits=-2.83 required=5 tests=AWL, BAYES_05, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf-20110901g X-Scanned-By: MIMEDefang 2.63 on 140.211.169.21 X-Scanned-By: MIMEDefang 2.63 on 140.211.169.51 Cc: Jean Pihet Subject: [linux-pm] [PATCH 8/8] OMAP3: update cpuidle latency and threshold figures X-BeenThere: linux-pm@lists.linux-foundation.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux power management List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 02 Sep 2011 13:15:57 +0000 (UTC) Update the data from the measurements performed at HW and SW levels. Cf. http://www.omappedia.org/wiki/Power_Management_Device_Latencies_Measurement for a detailed explanation on where are the numbers magically coming from. ToDo: - Measure the wake-up latencies for all power domains for OMAP3 - Correct some numbers when sys_clkreq and sys_offmode are supported Signed-off-by: Jean Pihet --- arch/arm/mach-omap2/cpuidle34xx.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index b43d1d2..3f37e89 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c @@ -45,19 +45,19 @@ */ static struct cpuidle_params cpuidle_params_table[] = { /* C1 . MPU WFI + Core active */ - {2 + 2, 5, 1}, + {73 + 78, 152, 1}, /* C2 . MPU WFI + Core inactive */ - {10 + 10, 30, 1}, + {165 + 88, 345, 1}, /* C3 . MPU CSWR + Core inactive */ - {50 + 50, 300, 1}, + {163 + 182, 345, 1}, /* C4 . MPU OFF + Core inactive */ - {1500 + 1800, 4000, 1}, + {2852 + 605, 150000, 1}, /* C5 . MPU RET + Core RET */ - {2500 + 7500, 12000, 1}, + {800 + 366, 2120, 1}, /* C6 . MPU OFF + Core RET */ - {3000 + 8500, 15000, 1}, + {4080 + 801, 215000, 1}, /* C7 . MPU OFF + Core OFF */ - {10000 + 30000, 300000, 1}, + {4300 + 13000, 215000, 1}, }; #define OMAP3_NUM_STATES ARRAY_SIZE(cpuidle_params_table)