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

2011-06-17 Thread Jean Pihet
To: Jean Pihet Cc: linux-omap@vger.kernel.org; Jean Pihet-XID Subject: RE: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR -Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Tuesday, February 01, 2011 4:53 PM To: Santosh Shilimkar Cc: linux-omap

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

2011-06-17 Thread Santosh Shilimkar
On 6/17/2011 2:28 PM, Jean Pihet wrote: Hi Santosh, [] -omap3_do_wfi: +do_WFI: + ldr r4, cm_clkstctrl_core @ read the CLKSTCTRL_CORE + ldr r5, [r4]@ read the contents of CLKSTCTRL_CORE + and r5, r5, #0x3 + cmp r5, #0x3 +

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

2011-06-17 Thread Kevin Hilman
Hi Santosh, Santosh Shilimkar santosh.shilim...@ti.com writes: On 6/17/2011 2:28 PM, Jean Pihet wrote: Hi Santosh, [] -omap3_do_wfi: +do_WFI: + ldr r4, cm_clkstctrl_core @ read the CLKSTCTRL_CORE + ldr r5, [r4]@ read the contents of

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

2011-06-17 Thread Santosh Shilimkar
On 6/17/2011 9:29 PM, Kevin Hilman wrote: Hi Santosh, Santosh Shilimkarsantosh.shilim...@ti.com writes: On 6/17/2011 2:28 PM, Jean Pihet wrote: Hi Santosh, [] -omap3_do_wfi: +do_WFI: + ldr r4, cm_clkstctrl_core @ read the CLKSTCTRL_CORE + ldr r5, [r4]

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

2011-06-16 Thread Santosh Shilimkar
code from DDR -Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Tuesday, February 01, 2011 4:53 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; Jean Pihet-XID Subject: Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR [...] Does that makes

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

2011-02-04 Thread Santosh Shilimkar
Jean, -Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Tuesday, February 01, 2011 5:01 PM To: Jean Pihet Cc: linux-omap@vger.kernel.org; Jean Pihet-XID Subject: RE: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR -Original Message

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

2011-02-01 Thread Jean Pihet
: Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR Hi Santosh, [.] +    * For OFF mode: save context and jump to WFI in SDRAM (omap3_do_wfi) +    * For non-OFF modes: jump to the WFI code in SRAM (omap3_do_wfi_sram) Why is this distinction? For non-low power modes

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

2011-02-01 Thread Santosh Shilimkar
-Original Message- From: Jean Pihet [mailto:jean.pi...@newoldbits.com] Sent: Tuesday, February 01, 2011 4:53 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; Jean Pihet-XID Subject: Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR [...] Does that makes sense

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

2011-01-31 Thread Jean Pihet
Pihet-XID Subject: RE: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR Jean, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of jean.pi...@newoldbits.com Sent: Thursday, January 13, 2011 9:49 PM To: linux-omap

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

2011-01-31 Thread Santosh Shilimkar
-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: Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR Hi Santosh, [.] +    * For OFF

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

2011-01-29 Thread Santosh Shilimkar
Jean, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of jean.pi...@newoldbits.com Sent: Thursday, January 13, 2011 9:49 PM To: linux-omap@vger.kernel.org Cc: Jean Pihet Subject: [RFC/PATCH] OMAP3: run the ASM sleep code

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

2011-01-29 Thread Santosh Shilimkar
-Original Message- From: Santosh Shilimkar [mailto:santosh.shilim...@ti.com] Sent: Saturday, January 29, 2011 10:45 PM To: jean.pi...@newoldbits.com; linux-omap@vger.kernel.org Cc: Jean Pihet-XID Subject: RE: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR Jean, -Original

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

2011-01-27 Thread Vishwanath Sripathy
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 Cc: Jean Pihet Subject: Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR

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

2011-01-27 Thread Jean Pihet
Cc: Jean Pihet Subject: Re: [RFC/PATCH] OMAP3: run the ASM sleep code from DDR 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

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.

[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 to