* [PATCH] Remove omap_sram_idle()
@ 2007-12-16 7:57 Vivek Kutal
2007-12-16 14:44 ` Woodruff, Richard
2007-12-16 16:06 ` Dirk Behme
0 siblings, 2 replies; 6+ messages in thread
From: Vivek Kutal @ 2007-12-16 7:57 UTC (permalink / raw)
To: linux-omap-open-source
This patch removes omap_sram_idle().
Signed-off-by: Vivek Kutal <vivek.kutal@celunite.com>
---
arch/arm/mach-omap1/pm.c | 8 +--
arch/arm/mach-omap1/sleep.S | 161 -------------------------------------------
2 files changed, 1 insertions(+), 168 deletions(-)
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 647c58e..c5a89cd 100644
--- a/arch/arm/mach-omap1/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -676,23 +676,17 @@ static int __init omap_pm_init(void)
* memory the MPU can see when it wakes up.
*/
if (cpu_is_omap730()) {
- omap_sram_idle = omap_sram_push(omap730_idle_loop_suspend,
- omap730_idle_loop_suspend_sz);
omap_sram_suspend = omap_sram_push(omap730_cpu_suspend,
omap730_cpu_suspend_sz);
} else if (cpu_is_omap15xx()) {
- omap_sram_idle = omap_sram_push(omap1510_idle_loop_suspend,
- omap1510_idle_loop_suspend_sz);
omap_sram_suspend = omap_sram_push(omap1510_cpu_suspend,
omap1510_cpu_suspend_sz);
} else if (cpu_is_omap16xx()) {
- omap_sram_idle = omap_sram_push(omap1610_idle_loop_suspend,
- omap1610_idle_loop_suspend_sz);
omap_sram_suspend = omap_sram_push(omap1610_cpu_suspend,
omap1610_cpu_suspend_sz);
}
- if (omap_sram_idle == NULL || omap_sram_suspend == NULL) {
+ if (omap_sram_suspend == NULL) {
printk(KERN_ERR "PM not initialized: Missing SRAM support\n");
return -ENODEV;
}
diff --git a/arch/arm/mach-omap1/sleep.S b/arch/arm/mach-omap1/sleep.S
index abef33d..68f5b39 100644
--- a/arch/arm/mach-omap1/sleep.S
+++ b/arch/arm/mach-omap1/sleep.S
@@ -39,167 +39,6 @@
.text
-/*
- * Forces OMAP into idle state
- *
- * omapXXXX_idle_loop_suspend()
- *
- * Note: This code get's copied to internal SRAM at boot. When the OMAP
- * wakes up it continues execution at the point it went to sleep.
- *
- * Note: Because of slightly different configuration values we have
- * processor specific functions here.
- */
-
-#if defined(CONFIG_ARCH_OMAP730)
-ENTRY(omap730_idle_loop_suspend)
-
- stmfd sp!, {r0 - r12, lr} @ save registers on stack
-
- @ load base address of ARM_IDLECT1 and ARM_IDLECT2
- mov r4, #CLKGEN_REG_ASM_BASE & 0xff000000
- orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x00ff0000
- orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x0000ff00
-
- @ turn off clock domains
- @ get ARM_IDLECT2 into r2
- ldrh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
- mov r5, #OMAP730_IDLECT2_SLEEP_VAL & 0xff
- orr r5, r5, #OMAP730_IDLECT2_SLEEP_VAL & 0xff00
- strh r5, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
-
- @ request ARM idle
- @ get ARM_IDLECT1 into r1
- ldrh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
- orr r3, r1, #OMAP730_IDLE_LOOP_REQUEST & 0xffff
- strh r3, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
-
- mov r5, #IDLE_WAIT_CYCLES & 0xff
- orr r5, r5, #IDLE_WAIT_CYCLES & 0xff00
-l_730: subs r5, r5, #1
- bne l_730
-/*
- * Let's wait for the next clock tick to wake us up.
- */
- mov r0, #0
- mcr p15, 0, r0, c7, c0, 4 @ wait for interrupt
-/*
- * omap730_idle_loop_suspend()'s resume point.
- *
- * It will just start executing here, so we'll restore stuff from the
- * stack, reset the ARM_IDLECT1 and ARM_IDLECT2.
- */
-
- @ restore ARM_IDLECT1 and ARM_IDLECT2 and return
- @ r1 has ARM_IDLECT1 and r2 still has ARM_IDLECT2
- strh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
- strh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
-
- ldmfd sp!, {r0 - r12, pc} @ restore regs and return
-
-ENTRY(omap730_idle_loop_suspend_sz)
- .word . - omap730_idle_loop_suspend
-#endif /* CONFIG_ARCH_OMAP730 */
-
-#ifdef CONFIG_ARCH_OMAP15XX
-ENTRY(omap1510_idle_loop_suspend)
-
- stmfd sp!, {r0 - r12, lr} @ save registers on stack
-
- @ load base address of ARM_IDLECT1 and ARM_IDLECT2
- mov r4, #CLKGEN_REG_ASM_BASE & 0xff000000
- orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x00ff0000
- orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x0000ff00
-
- @ turn off clock domains
- @ get ARM_IDLECT2 into r2
- ldrh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
- mov r5, #OMAP1510_IDLE_CLOCK_DOMAINS & 0xff
- orr r5, r5, #OMAP1510_IDLE_CLOCK_DOMAINS & 0xff00
- strh r5, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
-
- @ request ARM idle
- @ get ARM_IDLECT1 into r1
- ldrh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
- orr r3, r1, #OMAP1510_IDLE_LOOP_REQUEST & 0xffff
- strh r3, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
-
- mov r5, #IDLE_WAIT_CYCLES & 0xff
- orr r5, r5, #IDLE_WAIT_CYCLES & 0xff00
-l_1510: subs r5, r5, #1
- bne l_1510
-/*
- * Let's wait for the next clock tick to wake us up.
- */
- mov r0, #0
- mcr p15, 0, r0, c7, c0, 4 @ wait for interrupt
-/*
- * omap1510_idle_loop_suspend()'s resume point.
- *
- * It will just start executing here, so we'll restore stuff from the
- * stack, reset the ARM_IDLECT1 and ARM_IDLECT2.
- */
-
- @ restore ARM_IDLECT1 and ARM_IDLECT2 and return
- @ r1 has ARM_IDLECT1 and r2 still has ARM_IDLECT2
- strh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
- strh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
-
- ldmfd sp!, {r0 - r12, pc} @ restore regs and return
-
-ENTRY(omap1510_idle_loop_suspend_sz)
- .word . - omap1510_idle_loop_suspend
-#endif /* CONFIG_ARCH_OMAP15XX */
-
-#if defined(CONFIG_ARCH_OMAP16XX)
-ENTRY(omap1610_idle_loop_suspend)
-
- stmfd sp!, {r0 - r12, lr} @ save registers on stack
-
- @ load base address of ARM_IDLECT1 and ARM_IDLECT2
- mov r4, #CLKGEN_REG_ASM_BASE & 0xff000000
- orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x00ff0000
- orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x0000ff00
-
- @ turn off clock domains
- @ get ARM_IDLECT2 into r2
- ldrh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
- mov r5, #OMAP1610_IDLECT2_SLEEP_VAL & 0xff
- orr r5, r5, #OMAP1610_IDLECT2_SLEEP_VAL & 0xff00
- strh r5, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
-
- @ request ARM idle
- @ get ARM_IDLECT1 into r1
- ldrh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
- orr r3, r1, #OMAP1610_IDLE_LOOP_REQUEST & 0xffff
- strh r3, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
-
- mov r5, #IDLE_WAIT_CYCLES & 0xff
- orr r5, r5, #IDLE_WAIT_CYCLES & 0xff00
-l_1610: subs r5, r5, #1
- bne l_1610
-/*
- * Let's wait for the next clock tick to wake us up.
- */
- mov r0, #0
- mcr p15, 0, r0, c7, c0, 4 @ wait for interrupt
-/*
- * omap1610_idle_loop_suspend()'s resume point.
- *
- * It will just start executing here, so we'll restore stuff from the
- * stack, reset the ARM_IDLECT1 and ARM_IDLECT2.
- */
-
- @ restore ARM_IDLECT1 and ARM_IDLECT2 and return
- @ r1 has ARM_IDLECT1 and r2 still has ARM_IDLECT2
- strh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
- strh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
-
- ldmfd sp!, {r0 - r12, pc} @ restore regs and return
-
-ENTRY(omap1610_idle_loop_suspend_sz)
- .word . - omap1610_idle_loop_suspend
-#endif /* CONFIG_ARCH_OMAP16XX */
/*
* Forces OMAP into deep sleep state
--
1.5.2.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* RE: [PATCH] Remove omap_sram_idle()
2007-12-16 7:57 [PATCH] Remove omap_sram_idle() Vivek Kutal
@ 2007-12-16 14:44 ` Woodruff, Richard
2007-12-16 15:11 ` Igor Stoppa
2007-12-17 6:24 ` Vivek Kutal
2007-12-16 16:06 ` Dirk Behme
1 sibling, 2 replies; 6+ messages in thread
From: Woodruff, Richard @ 2007-12-16 14:44 UTC (permalink / raw)
To: Vivek Kutal, linux-omap-open-source
> This patch removes omap_sram_idle().
Why?
> Signed-off-by: Vivek Kutal <vivek.kutal@celunite.com>
Execution in SRAM on some OMAPs is needed and in others it provides a more likely path to hitting deep sleep states. There is sensitivity of running in SDRAM when trying to shut this down.
On 1509 there was not alternative as sleeping when the SDR was not in self-refresh was impossible. On 1510 an automated self-refresh was added based on an internal signal.
I've not tried an OMAP1 in a while so I'm not sure what issues there might be today. There are tree's which do hit big and deep sleep and I think they still use something close to this.
Regards,
Richard W.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH] Remove omap_sram_idle()
2007-12-16 14:44 ` Woodruff, Richard
@ 2007-12-16 15:11 ` Igor Stoppa
2007-12-17 6:24 ` Vivek Kutal
1 sibling, 0 replies; 6+ messages in thread
From: Igor Stoppa @ 2007-12-16 15:11 UTC (permalink / raw)
To: ext Woodruff, Richard; +Cc: linux-omap-open-source
On Sun, 2007-12-16 at 08:44 -0600, ext Woodruff, Richard wrote:
> > This patch removes omap_sram_idle().
>
> Why?
>
> > Signed-off-by: Vivek Kutal <vivek.kutal@celunite.com>
>
> Execution in SRAM on some OMAPs is needed and in others it provides a more likely path to hitting deep sleep states. There is sensitivity of running in SDRAM when trying to shut this down.
>
> On 1509 there was not alternative as sleeping when the SDR was not in self-refresh was impossible. On 1510 an automated self-refresh was added based on an internal signal.
>
> I've not tried an OMAP1 in a while so I'm not sure what issues there might be today. There are tree's which do hit big and deep sleep and I think they still use something close to this.
Yup. Nokia 770 is one of them.
Or was, at least, I have to admit that I haven't checked an OMAP1 kernel
for a long time. But it used to work.
Vivek: did you make any measurement on your patch? It would be good if
you could share your findings.
--
Cheers, Igor
Igor Stoppa <igor.stoppa@nokia.com>
(Nokia Multimedia - CP - OSSO / Helsinki, Finland)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Remove omap_sram_idle()
2007-12-16 7:57 [PATCH] Remove omap_sram_idle() Vivek Kutal
2007-12-16 14:44 ` Woodruff, Richard
@ 2007-12-16 16:06 ` Dirk Behme
1 sibling, 0 replies; 6+ messages in thread
From: Dirk Behme @ 2007-12-16 16:06 UTC (permalink / raw)
To: Vivek Kutal, linux-omap-open-source; +Cc: linux-omap
Vivek Kutal wrote:
> This patch removes omap_sram_idle().
>
> Signed-off-by: Vivek Kutal <vivek.kutal@celunite.com>
> ---
Please switch over to new ML:
http://vger.kernel.org/vger-lists.html#linux-omap
Dirk
> arch/arm/mach-omap1/pm.c | 8 +--
> arch/arm/mach-omap1/sleep.S | 161 -------------------------------------------
> 2 files changed, 1 insertions(+), 168 deletions(-)
>
> diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
> index 647c58e..c5a89cd 100644
> --- a/arch/arm/mach-omap1/pm.c
> +++ b/arch/arm/mach-omap1/pm.c
> @@ -676,23 +676,17 @@ static int __init omap_pm_init(void)
> * memory the MPU can see when it wakes up.
> */
> if (cpu_is_omap730()) {
> - omap_sram_idle = omap_sram_push(omap730_idle_loop_suspend,
> - omap730_idle_loop_suspend_sz);
> omap_sram_suspend = omap_sram_push(omap730_cpu_suspend,
> omap730_cpu_suspend_sz);
> } else if (cpu_is_omap15xx()) {
> - omap_sram_idle = omap_sram_push(omap1510_idle_loop_suspend,
> - omap1510_idle_loop_suspend_sz);
> omap_sram_suspend = omap_sram_push(omap1510_cpu_suspend,
> omap1510_cpu_suspend_sz);
> } else if (cpu_is_omap16xx()) {
> - omap_sram_idle = omap_sram_push(omap1610_idle_loop_suspend,
> - omap1610_idle_loop_suspend_sz);
> omap_sram_suspend = omap_sram_push(omap1610_cpu_suspend,
> omap1610_cpu_suspend_sz);
> }
>
> - if (omap_sram_idle == NULL || omap_sram_suspend == NULL) {
> + if (omap_sram_suspend == NULL) {
> printk(KERN_ERR "PM not initialized: Missing SRAM support\n");
> return -ENODEV;
> }
> diff --git a/arch/arm/mach-omap1/sleep.S b/arch/arm/mach-omap1/sleep.S
> index abef33d..68f5b39 100644
> --- a/arch/arm/mach-omap1/sleep.S
> +++ b/arch/arm/mach-omap1/sleep.S
> @@ -39,167 +39,6 @@
>
> .text
>
> -/*
> - * Forces OMAP into idle state
> - *
> - * omapXXXX_idle_loop_suspend()
> - *
> - * Note: This code get's copied to internal SRAM at boot. When the OMAP
> - * wakes up it continues execution at the point it went to sleep.
> - *
> - * Note: Because of slightly different configuration values we have
> - * processor specific functions here.
> - */
> -
> -#if defined(CONFIG_ARCH_OMAP730)
> -ENTRY(omap730_idle_loop_suspend)
> -
> - stmfd sp!, {r0 - r12, lr} @ save registers on stack
> -
> - @ load base address of ARM_IDLECT1 and ARM_IDLECT2
> - mov r4, #CLKGEN_REG_ASM_BASE & 0xff000000
> - orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x00ff0000
> - orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x0000ff00
> -
> - @ turn off clock domains
> - @ get ARM_IDLECT2 into r2
> - ldrh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> - mov r5, #OMAP730_IDLECT2_SLEEP_VAL & 0xff
> - orr r5, r5, #OMAP730_IDLECT2_SLEEP_VAL & 0xff00
> - strh r5, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> -
> - @ request ARM idle
> - @ get ARM_IDLECT1 into r1
> - ldrh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> - orr r3, r1, #OMAP730_IDLE_LOOP_REQUEST & 0xffff
> - strh r3, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> -
> - mov r5, #IDLE_WAIT_CYCLES & 0xff
> - orr r5, r5, #IDLE_WAIT_CYCLES & 0xff00
> -l_730: subs r5, r5, #1
> - bne l_730
> -/*
> - * Let's wait for the next clock tick to wake us up.
> - */
> - mov r0, #0
> - mcr p15, 0, r0, c7, c0, 4 @ wait for interrupt
> -/*
> - * omap730_idle_loop_suspend()'s resume point.
> - *
> - * It will just start executing here, so we'll restore stuff from the
> - * stack, reset the ARM_IDLECT1 and ARM_IDLECT2.
> - */
> -
> - @ restore ARM_IDLECT1 and ARM_IDLECT2 and return
> - @ r1 has ARM_IDLECT1 and r2 still has ARM_IDLECT2
> - strh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> - strh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> -
> - ldmfd sp!, {r0 - r12, pc} @ restore regs and return
> -
> -ENTRY(omap730_idle_loop_suspend_sz)
> - .word . - omap730_idle_loop_suspend
> -#endif /* CONFIG_ARCH_OMAP730 */
> -
> -#ifdef CONFIG_ARCH_OMAP15XX
> -ENTRY(omap1510_idle_loop_suspend)
> -
> - stmfd sp!, {r0 - r12, lr} @ save registers on stack
> -
> - @ load base address of ARM_IDLECT1 and ARM_IDLECT2
> - mov r4, #CLKGEN_REG_ASM_BASE & 0xff000000
> - orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x00ff0000
> - orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x0000ff00
> -
> - @ turn off clock domains
> - @ get ARM_IDLECT2 into r2
> - ldrh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> - mov r5, #OMAP1510_IDLE_CLOCK_DOMAINS & 0xff
> - orr r5, r5, #OMAP1510_IDLE_CLOCK_DOMAINS & 0xff00
> - strh r5, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> -
> - @ request ARM idle
> - @ get ARM_IDLECT1 into r1
> - ldrh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> - orr r3, r1, #OMAP1510_IDLE_LOOP_REQUEST & 0xffff
> - strh r3, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> -
> - mov r5, #IDLE_WAIT_CYCLES & 0xff
> - orr r5, r5, #IDLE_WAIT_CYCLES & 0xff00
> -l_1510: subs r5, r5, #1
> - bne l_1510
> -/*
> - * Let's wait for the next clock tick to wake us up.
> - */
> - mov r0, #0
> - mcr p15, 0, r0, c7, c0, 4 @ wait for interrupt
> -/*
> - * omap1510_idle_loop_suspend()'s resume point.
> - *
> - * It will just start executing here, so we'll restore stuff from the
> - * stack, reset the ARM_IDLECT1 and ARM_IDLECT2.
> - */
> -
> - @ restore ARM_IDLECT1 and ARM_IDLECT2 and return
> - @ r1 has ARM_IDLECT1 and r2 still has ARM_IDLECT2
> - strh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> - strh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> -
> - ldmfd sp!, {r0 - r12, pc} @ restore regs and return
> -
> -ENTRY(omap1510_idle_loop_suspend_sz)
> - .word . - omap1510_idle_loop_suspend
> -#endif /* CONFIG_ARCH_OMAP15XX */
> -
> -#if defined(CONFIG_ARCH_OMAP16XX)
> -ENTRY(omap1610_idle_loop_suspend)
> -
> - stmfd sp!, {r0 - r12, lr} @ save registers on stack
> -
> - @ load base address of ARM_IDLECT1 and ARM_IDLECT2
> - mov r4, #CLKGEN_REG_ASM_BASE & 0xff000000
> - orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x00ff0000
> - orr r4, r4, #CLKGEN_REG_ASM_BASE & 0x0000ff00
> -
> - @ turn off clock domains
> - @ get ARM_IDLECT2 into r2
> - ldrh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> - mov r5, #OMAP1610_IDLECT2_SLEEP_VAL & 0xff
> - orr r5, r5, #OMAP1610_IDLECT2_SLEEP_VAL & 0xff00
> - strh r5, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> -
> - @ request ARM idle
> - @ get ARM_IDLECT1 into r1
> - ldrh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> - orr r3, r1, #OMAP1610_IDLE_LOOP_REQUEST & 0xffff
> - strh r3, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> -
> - mov r5, #IDLE_WAIT_CYCLES & 0xff
> - orr r5, r5, #IDLE_WAIT_CYCLES & 0xff00
> -l_1610: subs r5, r5, #1
> - bne l_1610
> -/*
> - * Let's wait for the next clock tick to wake us up.
> - */
> - mov r0, #0
> - mcr p15, 0, r0, c7, c0, 4 @ wait for interrupt
> -/*
> - * omap1610_idle_loop_suspend()'s resume point.
> - *
> - * It will just start executing here, so we'll restore stuff from the
> - * stack, reset the ARM_IDLECT1 and ARM_IDLECT2.
> - */
> -
> - @ restore ARM_IDLECT1 and ARM_IDLECT2 and return
> - @ r1 has ARM_IDLECT1 and r2 still has ARM_IDLECT2
> - strh r2, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
> - strh r1, [r4, #ARM_IDLECT1_ASM_OFFSET & 0xff]
> -
> - ldmfd sp!, {r0 - r12, pc} @ restore regs and return
> -
> -ENTRY(omap1610_idle_loop_suspend_sz)
> - .word . - omap1610_idle_loop_suspend
> -#endif /* CONFIG_ARCH_OMAP16XX */
>
> /*
> * Forces OMAP into deep sleep state
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Remove omap_sram_idle()
2007-12-16 14:44 ` Woodruff, Richard
2007-12-16 15:11 ` Igor Stoppa
@ 2007-12-17 6:24 ` Vivek Kutal
2007-12-17 18:25 ` Tony Lindgren
1 sibling, 1 reply; 6+ messages in thread
From: Vivek Kutal @ 2007-12-17 6:24 UTC (permalink / raw)
To: Woodruff, Richard; +Cc: linux-omap, linux-omap-open-source
Woodruff, Richard wrote:
>> This patch removes omap_sram_idle().
>>
>
> Why?
>
>
The function called in pm_idle is omap_sram_suspend, omap_sram_idle() is
not used anywhere in omap1.
previously discussed here
http://linux.omap.com/pipermail/linux-omap-open-source/2007-September/011422.html
--
Vivek Kutal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Remove omap_sram_idle()
2007-12-17 6:24 ` Vivek Kutal
@ 2007-12-17 18:25 ` Tony Lindgren
0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2007-12-17 18:25 UTC (permalink / raw)
To: Vivek Kutal; +Cc: linux-omap, linux-omap-open-source
* Vivek Kutal <vivek.kutal@celunite.com> [071216 22:23]:
> Woodruff, Richard wrote:
>>> This patch removes omap_sram_idle().
>>>
>>
>> Why?
>>
>>
> The function called in pm_idle is omap_sram_suspend, omap_sram_idle() is
> not used anywhere in omap1.
> previously discussed here
> http://linux.omap.com/pipermail/linux-omap-open-source/2007-September/011422.html
Indeed, this code seems to be dead code nowadays :) Pushing today.
Tony
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-12-17 18:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-16 7:57 [PATCH] Remove omap_sram_idle() Vivek Kutal
2007-12-16 14:44 ` Woodruff, Richard
2007-12-16 15:11 ` Igor Stoppa
2007-12-17 6:24 ` Vivek Kutal
2007-12-17 18:25 ` Tony Lindgren
2007-12-16 16:06 ` Dirk Behme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox