[PATCH 0/3] OMAP PM: implement the wake-up latency constraints using PM QOS

2011-02-28 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Use the PM QOS framework to set wake-up latency constraints on the MPU and DMA. Cpuidle for OMAP34xx uses PM QOS to retreive the strongest constraint and to determine the next state for the MPU and CORE power domains. As of today only I2C is requesting

[PATCH 1/3] OMAP PM: create a PM layer plugin for the devices wakeup latency constraints

2011-02-28 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Created arch/arm/plat-omap/omap-pm-constraints.c file from arch/arm/plat-omap/omap-pm-noop.c and the associated Kconfig option OMAP_PM_CONSTRAINTS. Based on the original patch from Vishwanath, cf. https://patchwork.kernel.org/patch/327312/ Cc: Vishwanath BS

[PATCH 2/3] OMAP: implement MPU and DMA wake-up constraints using PM_QOS

2011-02-28 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Implement the wake-up constraints using the PM QOS API. Due to the nature of PM QOS only the MPU and DMA constraints can be used. Due to the implementation of cpuidle on OMAP34xx (in arch/arm/mach-omap2/cpuidle34xx.c) only the global C-states wakeup latencies

[PATCH 3/3] OMAP: use PM QOS for wake-up constraints from I2C

2011-02-28 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Implements the PM QOS API for the wake-up constraints on the MPU. Note: the caller shall allocate and store the PM QOS handle for future use (update/removal of the constraint). Based on the original patch from Vishwanath, cf. https://patchwork.kernel.org/patch

Re: [PATCH v5 4/5] ARM: omap3: Thumb-2 compatibility for sram34xx.S

2011-02-21 Thread Jean Pihet
On Thu, Feb 17, 2011 at 1:42 PM, Dave Martin dave.mar...@linaro.org wrote:  * Build unconditionally as ARM for correct interoperation with   OMAP firmware.  * Remove deprecated PC-relative stores  * Add the required ENDPROC() directive for each ENTRY().  * .align before data words

Re: [PATCH] perf: add OMAP support for the new power events

2011-02-21 Thread Jean Pihet
To: Kevin Hilman; Thomas Renninger; linux-omap@vger.kernel.org; linux-arm-ker...@lists.infradead.org Cc: Jean Pihet Subject: [PATCH] perf: add OMAP support for the new power events From: Jean Pihet j-pi...@ti.com The patch adds the new power management trace points for the OMAP architecture

Re: [PATCH 14/17] omap4: cpuidle: Add MPUSS RET OFF states

2011-02-21 Thread Jean Pihet
Hi Santosh, I have a few comments and questions inlined. On Sat, Feb 19, 2011 at 11:42 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: This patch adds MPUSS low power states in cpuidle.        C1 - CPU0 ON + CPU1 ON/OFF + MPU ON + CORE ON        C2 - CPU0 ON + CPU1 OFF + MPU ON + CORE

Re: [PATCH 2/2] OMAP: PM: implement devices wakeup latency constraints APIs

2011-02-18 Thread Jean Pihet
wrote: -Original Message- From: jean.pi...@newoldbits.com [mailto:jean.pi...@newoldbits.com] Sent: Friday, February 11, 2011 12:53 AM To: khil...@ti.com; p...@pwsan.com; Vibhore Vardhan; Santosh Shilimkar; Vishwanath BS; rna...@ti.com Cc: linux-omap@vger.kernel.org; Jean Pihet; Vibhore

[PATCH] perf: add OMAP support for the new power events

2011-02-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The patch adds the new power management trace points for the OMAP architecture. The trace points are for: - default idle handler. Since the cpuidle framework is instrumented in the generic way there is no need to add trace points in the OMAP specific cpuidle

Re: [PATCH] perf: add OMAP support for the new power events

2011-02-18 Thread Jean Pihet
On Thu, Feb 10, 2011 at 10:02 PM, Kevin Hilman khil...@ti.com wrote: jean.pi...@newoldbits.com writes: From: Jean Pihet j-pi...@ti.com The patch adds the new power management trace points for the OMAP architecture. The trace points are for: - default idle handler. Since the cpuidle

Re: [PATCH v5 3/5] ARM: omap3: Remove hand-encoded SMC instructions

2011-02-17 Thread Jean Pihet
Reviewed OK Reviewed-by: Jean Pihet j-pi...@ti.com Tested OK on OMAP3 with and without CONFIG_THUMB2_KERNEL set. PM RETention and OFF modes in cpuidle OK. Tested-by: Jean Pihet j-pi...@ti.com ---  arch/arm/mach-omap2/sleep34xx.S |   14 +++---  1 files changed, 7 insertions(+), 7 deletions

Re: [PATCH v5 5/5] ARM: omap3: Thumb-2 compatibility for sleep34xx.S

2011-02-17 Thread Jean Pihet
for each ENTRY().  * .align before data words.  * Handle non-interworking return from v7_flush_dcache_all. Signed-off-by: Dave Martin dave.mar...@linaro.org Reviewed OK Reviewed-by: Jean Pihet j-pi...@ti.com Tested OK on OMAP3 with and without CONFIG_THUMB2_KERNEL set. PM RETention and OFF

Re: Pandaboard boot problem

2011-02-16 Thread Jean Pihet
Hi Jarkko, On Mon, Feb 14, 2011 at 3:38 PM, Jarkko Nikula jhnik...@gmail.com wrote: On Mon, 14 Feb 2011 15:01:30 +0100 Jean Pihet jean.pi...@newoldbits.com wrote: If so, I've seen this same issue few times after having my panda powered off for a while, for example over the weekend

Re: [PATCH 2/2] OMAP: PM: implement devices wakeup latency constraints APIs

2011-02-15 Thread Jean Pihet
Shilimkar; Vishwanath BS; rna...@ti.com Cc: linux-omap@vger.kernel.org; Jean Pihet; Vibhore Vardhan Subject: [PATCH 2/2] OMAP: PM: implement devices wakeup latency constraints APIs From: Jean Pihet j-pi...@ti.com Implement OMAP PM layer omap_pm_set_max_dev_wakeup_lat API by creating similar

Re: Pandaboard boot problem

2011-02-14 Thread Jean Pihet
On Fri, Feb 4, 2011 at 2:53 AM, Tony Lindgren t...@atomide.com wrote: * Jean Pihet jean.pi...@newoldbits.com [110201 10:29]: Hi! I have a problem with a Pandaboard hanging a few seconds after the kernel boot, likely due to the watchdog firing. The kernel boots fine, mounts the root FS

Re: [PATCH 2/2] OMAP: PM: implement devices wakeup latency constraints APIs

2011-02-11 Thread Jean Pihet
Hi Shweta, Indeed the error checking is not good in this version. I have inlined some comments. On Fri, Feb 11, 2011 at 11:23 AM, Gulati, Shweta shweta.gul...@ti.com wrote: Jean, On Fri, Feb 11, 2011 at 12:53 AM,  jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Implement

[RFC PATCH 0/2] OMAP: PM: add devices wakeup latency constraints APIs

2011-02-10 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com - Implement OMAP PM layer omap_pm_set_max_dev_wakeup_lat API. - Created arch/arm/plat-omap/omap-pm-constraints.c file from arch/arm/plat-omap/omap-pm-noop.c and the associated Kconfig option OMAP_PM_CONSTRAINTS. This code is an early submission in RFC state

[PATCH 1/2] OMAP PM: create a PM layer plugin for the devices wakeup latency constraints

2011-02-10 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Created arch/arm/plat-omap/omap-pm-constraints.c file from arch/arm/plat-omap/omap-pm-noop.c and the associated Kconfig option OMAP_PM_CONSTRAINTS. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/plat-omap/Kconfig |7 + arch/arm/plat-omap

[PATCH 2/2] OMAP: PM: implement devices wakeup latency constraints APIs

2011-02-10 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Implement OMAP PM layer omap_pm_set_max_dev_wakeup_lat API by creating similar APIs at the omap_device and omap_hwmod levels. The omap_hwmod level call is the layer with access to the powerdomain core, so it is the place where the powerdomain is queried to set

Re: [PATCH] perf: add OMAP support for the new power events

2011-02-07 Thread Jean Pihet
Hi Santosh, Tony, On Wed, Jan 26, 2011 at 11:06 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: -Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Wednesday, January 26, 2011 3:20 PM To: Santosh Shilimkar Cc: Thomas Renninger; linux-omap

[PATCH] omap: use fncpy to copy the PM code functions to SRAM

2011-02-02 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The new fncpy API is better suited* for copying some code to SRAM at runtime. This patch changes the ad-hoc code to the more generic fncpy API. *: 1. fncpy ensures that the thumb mode bit is propagated, 2. fncpy provides the security of type safety between

Re: [PATCH v2] OMAP: fix fncpy API call

2011-02-02 Thread Jean Pihet
On Wed, Feb 2, 2011 at 1:01 AM, Tony Lindgren t...@atomide.com wrote: * Dave Martin dave.mar...@linaro.org [110201 08:34]: On Tue, Jan 25, 2011 at 5:48 PM,  jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Fix a potential problem with function types when calling the fncpy

Re: [PATCH v2] OMAP: fix fncpy API call

2011-02-01 Thread Jean Pihet
On Tue, Jan 25, 2011 at 6:48 PM, jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Fix a potential problem with function types when calling the fncpy API to copy the PM code functions to SRAM. Signed-off-by: Jean Pihet j-pi...@ti.com ---  arch/arm/plat-omap/include/plat

Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR

2011-02-01 Thread Jean Pihet
Hi Santosh, On Mon, Jan 31, 2011 at 12:00 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: -Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Monday, January 31, 2011 4:07 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; Jean Pihet-XID Subject

Pandaboard boot problem

2011-02-01 Thread Jean Pihet
Hi! I have a problem with a Pandaboard hanging a few seconds after the kernel boot, likely due to the watchdog firing. The kernel boots fine, mounts the root FS (initramfs) and the shell prompt works OK. Board details: Panda A1, OMAP4430 ES2 Kernel details: l-o tree master, using the

Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR

2011-01-31 Thread Jean Pihet
@vger.kernel.org Cc: Jean Pihet Subject: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR From: Jean Pihet j-pi...@ti.com Most of the ASM sleep code (in arch/arm/mach-omap2/sleep34xx.S) is copied to internal SRAM and run from there. However only a small part of the code really needs

Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR

2011-01-27 Thread Jean Pihet
On Thu, Jan 27, 2011 at 11:13 AM, Vishwanath Sripathy vishwanath...@ti.com wrote: Jean, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Jean Pihet Sent: Monday, January 24, 2011 7:59 PM To: linux-omap@vger.kernel.org

Re: [PATCH] perf: add OMAP support for the new power events

2011-01-26 Thread Jean Pihet
Renninger; linux-omap@vger.kernel.org Cc: Jean Pihet Subject: [PATCH] perf: add OMAP support for the new power events From: Jean Pihet j-pi...@ti.com The patch adds the new power management trace points for the OMAP architecture. The trace points are for: - default idle handler. Since

[PATCH] OMAP: fix fncpy API call

2011-01-25 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Fix a potential problem with function types when calling the fncpy API to copy the PM code functions to SRAM. Tested on OMAP3 in low power modes (RET/OFF) using omap2plus_defconfig with !CONFIG_THUMB2_KERNEL. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm

Re: [PATCH v2] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-25 Thread Jean Pihet
On Tue, Jan 25, 2011 at 11:33 AM, Dave Martin dave.mar...@linaro.org wrote: On Mon, Jan 24, 2011 at 5:25 PM, Jean Pihet jean.pi...@newoldbits.com wrote: Hi, On Mon, Jan 24, 2011 at 5:11 PM, Dave Martin dave.mar...@linaro.org wrote: Hi there, I just spotted a couple of things merging your

Re: [PATCH] OMAP: fix fncpy API call

2011-01-25 Thread Jean Pihet
On Tue, Jan 25, 2011 at 6:30 PM, Dave Martin dave.mar...@linaro.org wrote: On Tue, Jan 25, 2011 at 5:21 PM,  jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Fix a potential problem with function types when calling the fncpy API to copy the PM code functions to SRAM. Tested

[PATCH v2] OMAP: fix fncpy API call

2011-01-25 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Fix a potential problem with function types when calling the fncpy API to copy the PM code functions to SRAM. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/plat-omap/include/plat/sram.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-24 Thread Jean Pihet
observed to lead to strange optimisation side-effects when doing the arithmetic which is required in order to copy/move function bodies correctly in Thumb-2. Thanks to Russell King and Nicolas Pitre for their input on this patch. Signed-off-by: Dave Martin dave.mar...@linaro.org Tested-by: Jean

[PATCH] perf: add OMAP support for the new power events

2011-01-24 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The patch adds the new power management trace points for the OMAP architecture. The trace points are for: - default idle handler. Since the cpuidle framework is instrumented in the generic way there is no need to add trace points in the OMAP specific cpuidle

Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR

2011-01-24 Thread Jean Pihet
On Thu, Jan 13, 2011 at 5:19 PM, jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Most of the ASM sleep code (in arch/arm/mach-omap2/sleep34xx.S) is copied to internal SRAM and run from there. However only a small part of the code really needs to run from internal SRAM

Re: [PATCH v2] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-24 Thread Jean Pihet
Hi, On Mon, Jan 24, 2011 at 5:11 PM, Dave Martin dave.mar...@linaro.org wrote: Hi there, I just spotted a couple of things merging your patch... On Tue, Jan 18, 2011 at 12:02 PM,  jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com The new fncpy API is better suited for copying

Re: [PATCH v2] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-20 Thread Jean Pihet
On Wed, Jan 19, 2011 at 11:10 PM, Tony Lindgren t...@atomide.com wrote: * Kevin Hilman khil...@ti.com [110119 13:37]: Kevin Hilman khil...@ti.com writes: jean.pi...@newoldbits.com writes: From: Jean Pihet j-pi...@ti.com The new fncpy API is better suited for copying some code

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-19 Thread Jean Pihet
On Wed, Jan 19, 2011 at 12:44 AM, Tony Lindgren t...@atomide.com wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [110118 15:41]: On Tue, Jan 18, 2011 at 01:05:49PM +0100, Jean Pihet wrote: Dave, Russell, On Mon, Jan 17, 2011 at 4:46 PM, Dave Martin dave.mar...@linaro.org wrote

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-19 Thread Jean Pihet
Hi Tony, On Wed, Jan 19, 2011 at 8:10 PM, Tony Lindgren t...@atomide.com wrote: * Jean Pihet jean.pi...@newoldbits.com [110119 00:05]: On Wed, Jan 19, 2011 at 12:44 AM, Tony Lindgren t...@atomide.com wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [110118 15:41]: On Tue, Jan 18

[PATCH v2] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The new fncpy API is better suited for copying some code to SRAM at runtime. This patch changes the ad-hoc code to the more generic fncpy API. Tested OK on OMAP3 in low power modes (RET/OFF) using omap2plus_defconfig with !CONFIG_THUMB2_KERNEL. Compile tested

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-18 Thread Jean Pihet
Dave, Russell, On Mon, Jan 17, 2011 at 4:46 PM, Dave Martin dave.mar...@linaro.org wrote: On Mon, Jan 17, 2011 at 2:01 PM, Jean Pihet jean.pi...@newoldbits.com wrote: On Fri, Jan 14, 2011 at 6:34 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Jan 14, 2011 at 05:13:01PM

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-17 Thread Jean Pihet
On Fri, Jan 14, 2011 at 6:34 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Jan 14, 2011 at 05:13:01PM +0100, Jean Pihet wrote: Is the name 'omap_sram_push' wrong then? What about the following? @@ -251,9 +251,8 @@ void * omap_sram_push(void * start, unsigned long size

Re: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-17 Thread Jean Pihet
for their input on this patch. Signed-off-by: Dave Martin dave.mar...@linaro.org Tested-by: Jean Pihet j-pi...@ti.com ---  arch/arm/include/asm/fncpy.h |   96 ++  1 files changed, 96 insertions(+), 0 deletions(-)  create mode 100644 arch/arm/include

Re: [PATCH v4] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-17 Thread Jean Pihet
Hi Dave, On Mon, Jan 17, 2011 at 4:35 PM, Dave Martin dave.mar...@linaro.org wrote: Hi, On Mon, Jan 17, 2011 at 2:02 PM, Jean Pihet jean.pi...@newoldbits.com wrote: [...] Note that aligning the source and destination pointers to a multiple of 8 bytes has an impact on the behavio(u)r

Re: [PATCH v3 1/1] ARM: Thumb-2: Symbol manipulation macros for function body copying

2011-01-14 Thread Jean Pihet
for their input. Signed-off-by: Dave Martin dave.mar...@linaro.org Tested OK on OMAP3 in low power modes (RET/OFF) with !CONFIG_THUMB2_KERNEL. Tested-by: Jean Pihet j-pi...@ti.com --- KernelVersion: v2.6.37  arch/arm/include/asm/fncpy.h |  110 ++  1 files

[PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-14 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The new fncpy API is better suited for copying some code to SRAM at runtime. This patch changes the ad-hoc code to the more generic fncpy API. Tested OK on OMAP3 in low power modes (RET/OFF) with !CONFIG_THUMB2_KERNEL Signed-off-by: Jean Pihet j-pi...@ti.com

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-14 Thread Jean Pihet
On Fri, Jan 14, 2011 at 4:21 PM, jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com The new fncpy API is better suited for copying some code to SRAM at runtime. This patch changes the ad-hoc code to the more generic fncpy API. Tested OK on OMAP3 in low power modes (RET/OFF

Re: [PATCH] OMAP: use fncpy to copy the PM code functions to SRAM

2011-01-14 Thread Jean Pihet
On Fri, Jan 14, 2011 at 4:58 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Jan 14, 2011 at 04:21:10PM +0100, jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com The new fncpy API is better suited for copying some code to SRAM at runtime. This patch changes

[RFC/PATCH] OMAP3: run the ASM sleep code from DDR

2011-01-13 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Most of the ASM sleep code (in arch/arm/mach-omap2/sleep34xx.S) is copied to internal SRAM and run from there. However only a small part of the code really needs to run from internal SRAM. This fix lets most of the ASM idle code run from the DDR in order

Re: [PATCH 2/2] tools, perf: Documentation for the power events API

2011-01-10 Thread Jean Pihet
Hello Eduardo, On Fri, Jan 7, 2011 at 6:50 AM, Eduardo Valentin eduardo.valen...@nokia.com wrote: Hello Jean, On Wed, Jan 05, 2011 at 07:49:02PM +0100, ext jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com Provides documentation for the following: - the new power trace API

Re: [PATCH 1/3] perf: add calls to suspend trace point

2011-01-05 Thread Jean Pihet
On Wed, Jan 5, 2011 at 12:01 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Tuesday, January 04, 2011, Jean Pihet wrote: Hi, On Tue, Jan 4, 2011 at 12:29 PM, Pavel Machek pa...@ucw.cz wrote: Hi! Uses the machine_suspend trace point, called from the generic kernel suspend_enter function

Re: [PATCH 2/3] perf: add OMAP support for the new power events

2011-01-05 Thread Jean Pihet
On Tue, Jan 4, 2011 at 7:03 PM, Nishanth Menon n...@ti.com wrote: jean.pi...@newoldbits.com had written, on 01/04/2011 04:17 AM, the following: [..] diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 0ec8a04..0ee0b0e 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++

Re: [PATCH 2/3] perf: add OMAP support for the new power events

2011-01-05 Thread Jean Pihet
Hi Paul, On Tue, Jan 4, 2011 at 7:48 PM, Paul Walmsley p...@pwsan.com wrote: Hello Jean, On Tue, 4 Jan 2011, jean.pi...@newoldbits.com wrote: From: Jean Pihet j-pi...@ti.com The patch adds the new power management trace points for the OMAP architecture. The trace points

[PATCH 0/2] tools, perf: new power trace API

2011-01-05 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Provides: . calls to machine_suspend trace point, . API Documentation The OMAP specific changes will be submitted separately on the linux-omap ML because: - the OMAP changes need to be rebased on the latest linux-omap 2.6.37 tree, - more feedback is needed from

[PATCH 1/2] perf: add calls to suspend trace point

2011-01-05 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Uses the machine_suspend trace point, called from the generic kernel suspend_devices_and_enter function. Signed-off-by: Jean Pihet j-pi...@ti.com CC: Thomas Renninger tr...@suse.de Acked-by: Rafael J. Wysocki r...@sisk.pl --- kernel/power/suspend.c |3 +++ 1

[PATCH 2/2] tools, perf: Documentation for the power events API

2011-01-05 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Provides documentation for the following: - the new power trace API, - the old (legacy) power trace API, - the DEPRECATED Kconfig option usage. Signed-off-by: Jean Pihet j-pi...@ti.com --- Documentation/trace/events-power.txt | 90

[PATCH 0/3] perf, tools: new power trace API

2011-01-04 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Provides: . calls to machine_suspend trace point, . OMAP support, . API Documentation Applies on top of Thomas's 8 latest power trace API patches, cf. http://marc.info/?l=linux-kernelm=129130827309354w=2 Jean Pihet (3): perf: add calls to suspend trace point

[PATCH 1/3] perf: add calls to suspend trace point

2011-01-04 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Uses the machine_suspend trace point, called from the generic kernel suspend_enter function. Signed-off-by: Jean Pihet j-pi...@ti.com CC: Thomas Renninger tr...@suse.de --- kernel/power/suspend.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff

[PATCH 2/3] perf: add OMAP support for the new power events

2011-01-04 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The patch adds the new power management trace points for the OMAP architecture. The trace points are for: - default idle handler. Since the cpuidle framework is instrumented in the generic way there is no need to add trace points in the OMAP specific cpuidle

[PATCH 3/3] tools, perf: Documentation for the power events API

2011-01-04 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Provides documentation for the following: - the new power trace API, - the old (legacy) power trace API, - the DEPRECATED Kconfig option usage. Signed-off-by: Jean Pihet j-pi...@ti.com --- Documentation/trace/events-power.txt | 90

Re: [PATCH 1/3] perf: add calls to suspend trace point

2011-01-04 Thread Jean Pihet
Hi, On Tue, Jan 4, 2011 at 12:29 PM, Pavel Machek pa...@ucw.cz wrote: Hi! Uses the machine_suspend trace point, called from the generic kernel suspend_enter function. Signed-off-by: Jean Pihet j-pi...@ti.com CC: Thomas Renninger tr...@suse.de ---  kernel/power/suspend.c |    3 +++  1

Re: [PATCH 0/7 v6] OMAP3: clean up ASM sleep code

2010-12-20 Thread Jean Pihet
Hi Nishant, On Sat, Dec 18, 2010 at 11:56 PM, Nishanth Menon n...@ti.com wrote: jean.pi...@newoldbits.com had written, on 12/18/2010 09:44 AM, the following: Applies on top of Nishant's latest idle path errata fixes step 2, cf. http://marc.info/?l=linux-omapm=129139584919242w=2 Jean Pihet

Re: [PATCH v4 0/7] OMAP: idle path errata fixes

2010-12-20 Thread Jean Pihet
series[2]        SDP3430        SDP3630 Test Script: http://elinux.org/OMAP_Power_Management#Quick_verification_of_suspend-idle_functionality This series + ASM cleanup series[2]: Tested OK on Beagleboard with full RET and OFF modes, using cpuidle. Tested-by: Jean Pihet j-pi...@ti.com V3: http

Re: [PATCH v4 3/7] omap3: pm: introduce errata handling

2010-12-20 Thread Jean Pihet
Hi Nishant, Here a few minor remarks about typos: On Sat, Dec 18, 2010 at 11:53 PM, Nishanth Menon n...@ti.com wrote: Introduce errata handling for omap3. This patch introduces Use caps for OMAP3 errata variable and and stub for initialization which will be and and - and filled up by

Re: [PATCH v4 1/7] OMAP3: PM: Update clean_l2 to use v7_flush_dcache_all

2010-12-20 Thread Jean Pihet
: Jean Pihet; Kevin; Tony Subject: [PATCH v4 1/7] OMAP3: PM: Update clean_l2 to use v7_flush_dcache_all From: Richard Woodruff r-woodru...@ti.com Analysis in TI kernel with ETM showed that using cache mapped flush in kernel instead of SO mapped flush cost drops by 65% (3.39mS down to 1.17mS

Re: [PATCH v4 2/7] OMAP3: PM: Erratum i581 support: dll kick strategy

2010-12-20 Thread Jean Pihet
On Sat, Dec 18, 2010 at 11:53 PM, Nishanth Menon n...@ti.com wrote: From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com Erratum i581 impacts OMAP3 platforms. PRCM DPLL control FSM removes SDRC_IDLEREQ before DPLL3 locks causing the DPLL not to be locked at times. IMPORTANT: *) This

Re: [PATCH v4 7/7] OMAP3630: PM: Erratum i583: disable coreoff if ES1.2

2010-12-20 Thread Jean Pihet
: Jean Pihet; Kevin; Tony Subject: [PATCH v4 7/7] OMAP3630: PM: Erratum i583: disable coreoff if ES1.2 From: Eduardo Valentin eduardo.valen...@nokia.com Limitation i583: Self_Refresh Exit issue after OFF mode Issue: When device is waking up from OFF mode, then SDRC state machine sends

Re: [PATCH v4 4/7] OMAP3630: PM: Erratum i608: disable RTA

2010-12-20 Thread Jean Pihet
: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com [ambr...@ti.com: co-developer] Signed-off-by: Ambresh K ambr...@ti.com Signed-off-by: Nishanth Menon n...@ti.com Otherwise: Acked-by: Jean Pihet j-pi...@ti.com --- v4:        control register handling moved

Re: [PATCH v4 5/7] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-12-20 Thread Jean Pihet
-by: Nishanth Menon n...@ti.com Signed-off-by: Eduardo Valentin eduardo.valen...@nokia.com Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com Acked-by: Jean Pihet j-pi...@ti.com --- v4: rebased only. no functional change v3: http://marc.info/?l=linux-omapm=129139583519221w=2

Re: [PATCH v4 6/7] OMAP3: PM: make omap3_cpuidle_update_states independent of enable_off_mode

2010-12-20 Thread Jean Pihet
the system is allowed to achieve and update the idle states accordingly. Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Jean Pihet j-pi...@ti.com ---  arch/arm/mach-omap2/cpuidle34xx.c |   19 ++-  arch/arm/mach-omap2/pm.h          |    3 ++-  arch/arm/mach-omap2/pm34xx.c

[PATCH 6/7] OMAP3: add comments for low power code errata

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Errata covered: - 1.157 1.185 - i443 - i581 Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com Tested-by: Nishanth Menon n...@ti.com

[PATCH 7/7] OMAP3: ASM sleep code format rework

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Cosmetic fixes to the code: - white spaces and tabs, - alignement, - comments rephrase and typos, - multi-line comments Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com Acked

[PATCH 2/7] OMAP2+: use global values for the SRAM PA addresses

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The SRAM PA addresses are locally defined and used at different places, i.e. SRAM management code and idle sleep code. The macros are now defined at a centralized place, for easier maintenance. Tested on N900 and Beagleboard with full RET and OFF modes, using

[PATCH 0/7 v6] OMAP3: clean up ASM sleep code

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com This patch only contains clean-ups and cosmetic changes, no functional change. Clean-up of the ASM sleep code, for better readability and easier maintenance. Applies on top of Nishant's latest idle path errata fixes step 2, cf. http://marc.info/?l=linux-omapm

[PATCH 1/7] OMAP3: remove unused code from the ASM sleep code

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Remove unused code: - macros, - variables, - unused semaphore locking API. This API shall be added back when needed, - infinite loops for debug. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j

[PATCH 3/7] OMAP3: remove hardcoded values from the ASM sleep code

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Using macros from existing include files for registers addresses. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Based on original patch from Vishwa. Signed-off-by: Jean Pihet j-pi...@ti.com Cc: Vishwanath BS vishwanath

Re: [PATCH 0/7 v5] OMAP3: clean up ASM sleep code

2010-12-18 Thread Jean Pihet
On Sat, Dec 18, 2010 at 12:22 AM, Nishanth Menon n...@ti.com wrote: Jean Pihet had written, on 12/17/2010 05:07 PM, the following: Hi Kevin, On Sat, Dec 18, 2010 at 12:02 AM, Kevin Hilman khil...@deeprootsystems.com wrote: Hi Jean, jean.pi...@newoldbits.com writes: From: Jean Pihet j

[PATCH 4/7] OMAP3: re-organize the ASM sleep code

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Organize the code in the following sections: - register access macros, - API functions, - internal functions. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com Acked-by: Santosh

[PATCH 5/7] OMAP3: rework of the ASM sleep code execution paths

2010-12-18 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com - Reworked and simplified the execution paths for better readability and to avoid duplication of code, - Added comments on the entry and exit points and the interaction with the ROM code for OFF mode restore, - Reworked the existing comments for better

[PATCH 0/7 v5] OMAP3: clean up ASM sleep code

2010-12-17 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com This patch only contains clean-ups and cosmetic changes, no functional change. Clean-up of the ASM sleep code, for better readability and easier maintenance. Applies on top of Nishant's latest idle path errata fixes step 2, cf. http://marc.info/?l=linux-omapm

[PATCH 3/7] OMAP3: remove hardcoded values from the ASM sleep code

2010-12-17 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Using macros from existing include files for registers addresses. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Based on original patch from Vishwa. Signed-off-by: Jean Pihet j-pi...@ti.com Cc: Vishwanath BS vishwanath

[PATCH 4/7] OMAP3: re-organize the ASM sleep code

2010-12-17 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Organize the code in the following sections: - register access macros, - API functions, - internal functions. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2

[PATCH 5/7] OMAP3: rework of the ASM sleep code execution paths

2010-12-17 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com - Reworked and simplified the execution paths for better readability and to avoid duplication of code, - Added comments on the entry and exit points and the interaction with the ROM code for OFF mode restore, - Reworked the existing comments for better

[PATCH 2/7] OMAP2+: use global values for the SRAM PA addresses

2010-12-17 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The SRAM PA addresses are locally defined and used at different places, i.e. SRAM management code and idle sleep code. The macros are now defined at a centralized place, for easier maintenance. Tested on N900 and Beagleboard with full RET and OFF modes, using

[PATCH 6/7] OMAP3: add comments for low power code errata

2010-12-17 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Errata covered: - 1.157 1.185 - i443 - i581 Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/pm34xx.c|4 ++-- arch/arm/mach-omap2/sleep34xx.S | 11

[PATCH 7/7] OMAP3: ASM sleep code format rework

2010-12-17 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Cosmetic fixes to the code: - white spaces and tabs, - alignement, - comments rephrase and typos, - multi-line comments Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm

Re: [PATCH 5/7] OMAP3: rework of the ASM sleep code execution paths

2010-12-17 Thread Jean Pihet
@vger.kernel.org Cc: khil...@deeprootsystems.com; linux-arm-ker...@lists.infradead.org; Jean Pihet Subject: [PATCH 5/7] OMAP3: rework of the ASM sleep code execution paths From: Jean Pihet j-pi...@ti.com - Reworked and simplified the execution paths for better   readability and to avoid

Re: [PATCH 7/7] OMAP3: ASM sleep code format rework

2010-12-17 Thread Jean Pihet
@vger.kernel.org Cc: khil...@deeprootsystems.com; linux-arm-ker...@lists.infradead.org; Jean Pihet Subject: [PATCH 7/7] OMAP3: ASM sleep code format rework From: Jean Pihet j-pi...@ti.com Cosmetic fixes to the code: - white spaces and tabs, - alignement, - comments rephrase and typos, - multi

Re: [PATCH 0/7 v4] OMAP3: clean up ASM sleep code

2010-12-17 Thread Jean Pihet
11:21 PM To: linux-omap@vger.kernel.org Cc: khil...@deeprootsystems.com; linux-arm-ker...@lists.infradead.org; Jean Pihet Subject: [PATCH 0/7 v4] OMAP3: clean up ASM sleep code From: Jean Pihet j-pi...@ti.com This patch only contains clean-ups and cosmetic changes, no functional change

Re: [PATCH 2/7] OMAP2+: use global values for the SRAM PA addresses

2010-12-17 Thread Jean Pihet
Hi Nishant, On Fri, Dec 17, 2010 at 2:34 PM, Nishanth Menon n...@ti.com wrote: jean.pi...@newoldbits.com had written, on 12/17/2010 04:08 AM, the following: From: Jean Pihet j-pi...@ti.com The SRAM PA addresses are locally defined and used at different places, i.e. SRAM management code

Re: [PATCH 0/7 v5] OMAP3: clean up ASM sleep code

2010-12-17 Thread Jean Pihet
Hi Kevin, On Sat, Dec 18, 2010 at 12:02 AM, Kevin Hilman khil...@deeprootsystems.com wrote: Hi Jean, jean.pi...@newoldbits.com writes: From: Jean Pihet j-pi...@ti.com This patch only contains clean-ups and cosmetic changes, no functional change. Clean-up of the ASM sleep code

[PATCH 0/7 v4] OMAP3: clean up ASM sleep code

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com This patch only contains clean-ups and cosmetic changes, no functional change. Clean-up of the ASM sleep code, for better readability and easier maintenance. Applies on top of Nishant's latest idle path errata fixes step 2, cf. http://marc.info/?l=linux-omapm

[PATCH 1/7] OMAP3: remove unused code from the ASM sleep code

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Remove unused code: - macros, - variables, - unused semaphore locking API. This API shall be added back when needed, - infinite loops for debug. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j

[PATCH 2/7] OMAP2+: use global values for the SRAM PA addresses

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com The SRAM PA addresses are locally defined and used in both the SRAM management code and the idle sleep code. A global macro defines the values at a centralized place, for easier maintenance. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle

[PATCH 3/7] OMAP3: remove hardcoded values from the ASM sleep code

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Using macros from existing include files for registers addresses. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Based on original patch from Vishwa. Signed-off-by: Jean Pihet j-pi...@ti.com Cc: Vishwanath BS vishwanath

[PATCH 4/7] OMAP3: re-organize the ASM sleep code

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Organize the code in the following sections: - register access macros, - API functions, - internal functions. Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2

[PATCH 5/7] OMAP3: rework of the ASM sleep code execution paths

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com - Reworked and simplified the execution paths for better readability and to avoid duplication of code, - Added comments on the entry and exit points and the interaction with the ROM code for OFF mode restore, - Reworked the existing comments for better

[PATCH 6/7] OMAP3: add comments for low power code errata

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Errata covered: - 1.157 1.185 - i443 - i581 Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm/mach-omap2/pm34xx.c|4 ++-- arch/arm/mach-omap2/sleep34xx.S | 11

[PATCH 7/7] OMAP3: ASM sleep code format rework

2010-12-16 Thread jean . pihet
From: Jean Pihet j-pi...@ti.com Cosmetic fixes to the code: - white spaces and tabs, - alignement, - comments rephrase and typos, - multi-line comments Tested on N900 and Beagleboard with full RET and OFF modes, using cpuidle and suspend. Signed-off-by: Jean Pihet j-pi...@ti.com --- arch/arm

Re: [PATCH v3] OMAP3: clean up ASM idle code

2010-12-16 Thread Jean Pihet
Tony, On Tue, Dec 14, 2010 at 11:42 PM, Tony Lindgren t...@atomide.com wrote: Hi Jean, * jean.pi...@newoldbits.com jean.pi...@newoldbits.com [101214 09:28]: From: Jean Pihet j-pi...@ti.com This patch only contains clean-ups and cosmetic changes, no functional change. Clean up of the ASM

<    3   4   5   6   7   8   9   10   >