linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] Make swsusp_32.S usable for suspend-to-RAM.
@ 2007-07-12 19:12 Scott Wood
  2007-07-12 19:12 ` [PATCH 2/4] Implement arch disable/enable irq hooks Scott Wood
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Scott Wood @ 2007-07-12 19:12 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

This allows platform suspend code to re-use the generic state saving
code, passing a pointer to the low-level suspend code.

The resume path is modified so that non-hibernate callers skip
hibernate-specific bits, and so that callers can specify that the MMU is
off (and thus BATs should be restored).

The _GLOBAL around swsusp_save_area is changed to .global, as the former
puts the data in the text section, which causes an oops with page
debugging enabled.

Signed-off-by: Scott Wood <scottwood@freescale.com>
---
 arch/powerpc/Kconfig            |   11 +++++++
 arch/powerpc/kernel/Makefile    |    2 +-
 arch/powerpc/kernel/swsusp_32.S |   60 ++++++++++++++++++++++----------------
 3 files changed, 47 insertions(+), 26 deletions(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index cbfbd98..c89873d 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -117,6 +117,17 @@ config DEFAULT_UIMAGE
 	  Used to allow a board to specify it wants a uImage built by default
 	default n
 
+config PPC32_SUSPEND
+	bool
+	depends on PPC32
+	default n
+
+config PPC32_SWSUSP
+	bool
+	depends on PPC32 && SOFTWARE_SUSPEND
+	select PPC32_SUSPEND
+	default y
+
 config PPC64_SWSUSP
 	bool
 	depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL))
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 42c42ec..a4648d5 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -38,7 +38,7 @@ obj-$(CONFIG_CRASH_DUMP)	+= crash_dump.o
 obj-$(CONFIG_6xx)		+= idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o
 obj-$(CONFIG_TAU)		+= tau_6xx.o
 obj-$(CONFIG_SOFTWARE_SUSPEND)	+= swsusp.o suspend.o
-obj32-$(CONFIG_SOFTWARE_SUSPEND) += swsusp_32.o
+obj32-$(CONFIG_PPC32_SUSPEND)	+= swsusp_32.o
 obj64-$(CONFIG_SOFTWARE_SUSPEND) += swsusp_64.o swsusp_asm64.o
 obj32-$(CONFIG_MODULES)		+= module_32.o
 
diff --git a/arch/powerpc/kernel/swsusp_32.S b/arch/powerpc/kernel/swsusp_32.S
index 69e8f86..ed1c95b 100644
--- a/arch/powerpc/kernel/swsusp_32.S
+++ b/arch/powerpc/kernel/swsusp_32.S
@@ -33,15 +33,21 @@
 	.section .data
 	.align	5
 
-_GLOBAL(swsusp_save_area)
+	.global	swsusp_save_area
+swsusp_save_area:
 	.space	SL_SIZE
 
 
 	.section .text
 	.align	5
 
+#ifdef CONFIG_SOFTWARE_SUSPEND
 _GLOBAL(swsusp_arch_suspend)
+	lis	r3, swsusp_save@h
+	ori	r3, r3, swsusp_save@l
+#endif
 
+_GLOBAL(do_suspend)
 	lis	r11,swsusp_save_area@h
 	ori	r11,r11,swsusp_save_area@l
 
@@ -64,8 +70,8 @@ _GLOBAL(swsusp_arch_suspend)
 	stw	r4,SL_TB(r11)
 	mftb	r5
 	stw	r5,SL_TB+4(r11)
-	mftbu	r3
-	cmpw	r3,r4
+	mftbu	r6
+	cmpw	r6,r4
 	bne	1b
 
 	/* Save SPRGs */
@@ -119,7 +125,8 @@ _GLOBAL(swsusp_arch_suspend)
 	/* Call the low level suspend stuff (we should probably have made
 	 * a stackframe...
 	 */
-	bl	swsusp_save
+	mtctr	r3
+	bctrl
 
 	/* Restore LR from the save area */
 	lis	r11,swsusp_save_area@h
@@ -129,7 +136,7 @@ _GLOBAL(swsusp_arch_suspend)
 
 	blr
 
-
+#ifdef CONFIG_SOFTWARE_SUSPEND
 /* Resume code */
 _GLOBAL(swsusp_arch_resume)
 
@@ -212,6 +219,13 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
 	bdnz	1b
 	sync
 
+	li	r3, 0
+#endif
+
+	/* r3 = nonzero if the MMU is completely disabled and
+	 * BATs may be restored, zero otherwise.
+	 */
+_GLOBAL(do_resume)
 	/* Ok, we are now running with the kernel data of the old
 	 * kernel fully restored. We can get to the save area
 	 * easily now. As for the rest of the code, it assumes the
@@ -226,10 +240,8 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
 	bl	__restore_cpu_setup
 #endif
 	/* Restore the BATs, and SDR1.  Then we can turn on the MMU.
-	 * This is a bit hairy as we are running out of those BATs,
-	 * but first, our code is probably in the icache, and we are
-	 * writing the same value to the BAT, so that should be fine,
-	 * though a better solution will have to be found long-term
+	 * This can only be done when r3 != 0 (and thus the MMU is
+	 * off).
 	 */
 	lwz	r4,SL_SDR1(r11)
 	mtsdr1	r4
@@ -242,7 +254,9 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
 	lwz	r4,SL_SPRG0+12(r11)
 	mtsprg	3,r4
 
-#if 0
+	cmpw	r3, 0
+	beq	1f
+
 	lwz	r4,SL_DBAT0(r11)
 	mtdbatu	0,r4
 	lwz	r4,SL_DBAT0+4(r11)
@@ -275,8 +289,8 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
 	mtibatu	3,r4
 	lwz	r4,SL_IBAT3+4(r11)
 	mtibatl	3,r4
-#endif
 
+1:
 BEGIN_FTR_SECTION
 	li	r4,0
 	mtspr	SPRN_DBAT4U,r4
@@ -306,8 +320,16 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_HIGH_BATS)
 
 	/* restore the MSR and turn on the MMU */
 	lwz	r3,SL_MSR(r11)
-	bl	turn_on_mmu
-	tovirt(r11,r11)
+	lis	r4, 1f@h
+	ori	r4, r4, 1f@l
+
+	mtsrr0	r4
+	mtsrr1	r3
+	sync
+	isync
+	rfi
+
+1:	tovirt(r11, r11)
 
 	/* Restore TB */
 	li	r3,0
@@ -334,15 +356,3 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_HIGH_BATS)
 
 	li	r3,0
 	blr
-
-/* FIXME:This construct is actually not useful since we don't shut
- * down the instruction MMU, we could just flip back MSR-DR on.
- */
-turn_on_mmu:
-	mflr	r4
-	mtsrr0	r4
-	mtsrr1	r3
-	sync
-	isync
-	rfi
-
-- 
1.5.0.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/4] Implement arch disable/enable irq hooks.
  2007-07-12 19:12 [PATCH 1/4] Make swsusp_32.S usable for suspend-to-RAM Scott Wood
@ 2007-07-12 19:12 ` Scott Wood
  2007-07-13 10:10   ` Johannes Berg
  2007-07-13 10:11   ` Johannes Berg
  2007-07-12 19:13 ` [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack Scott Wood
  2007-07-12 19:13 ` [PATCH 4/4] Add 6xx-style HID0_SLEEP support Scott Wood
  2 siblings, 2 replies; 10+ messages in thread
From: Scott Wood @ 2007-07-12 19:12 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

These hooks ensure that a decrementer interrupt is not pending when
suspending; otherwise, problems may occur.  For example, with deep sleep
on the 831x, a pending decrementer will cause a system freeze because the
SoC thinks the decrementer interrupt would have woken the system, but the
core must have interrupts disabled due to the setup required for deep
sleep.

Signed-off-by: Scott Wood <scottwood@freescale.com>
---
 arch/powerpc/kernel/time.c    |   41 +++++++++++++++++++++++++++++++++++++++++
 include/asm-powerpc/machdep.h |   10 ++++++++++
 2 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index e5df167..253f46d 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -728,6 +728,47 @@ void wakeup_decrementer(void)
 	set_dec(ticks);
 }
 
+#ifdef CONFIG_PM
+void generic_suspend_disable_irqs(void)
+{
+	preempt_disable();
+
+	/* Disable the decrementer, so that it doesn't interfere
+	 * with suspending.
+	 */
+
+	set_dec(0x7fffffff);
+	local_irq_disable();
+	set_dec(0x7fffffff);
+}
+
+void generic_suspend_enable_irqs(void)
+{
+	wakeup_decrementer();
+
+	local_irq_enable();
+	preempt_enable();
+}
+
+/* Overrides the weak version in kernel/power/main.c */
+void arch_suspend_disable_irqs(void)
+{
+	if (ppc_md.suspend_disable_irqs)
+		ppc_md.suspend_disable_irqs();
+	else
+		generic_suspend_disable_irqs();
+}
+
+/* Overrides the weak version in kernel/power/main.c */
+void arch_suspend_enable_irqs(void)
+{
+	if (ppc_md.suspend_enable_irqs)
+		ppc_md.suspend_enable_irqs();
+	else
+		generic_suspend_enable_irqs();
+}
+#endif
+
 #ifdef CONFIG_SMP
 void __init smp_space_timers(unsigned int max_cpus)
 {
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h
index 71c6e7e..492ecf3 100644
--- a/include/asm-powerpc/machdep.h
+++ b/include/asm-powerpc/machdep.h
@@ -253,6 +253,16 @@ struct machdep_calls {
 	 */
 	void (*machine_kexec)(struct kimage *image);
 #endif /* CONFIG_KEXEC */
+
+#ifdef CONFIG_PM
+	/* These are called to disable and enable, respectively, IRQs when
+	 * entering a suspend state.  If NULL, then the generic versions
+	 * will be called.  The generic versions disable/enable the
+	 * decrementer along with interrupts.
+	 */
+	void (*suspend_disable_irqs)(void);
+	void (*suspend_enable_irqs)(void);
+#endif
 };
 
 extern void power4_idle(void);
-- 
1.5.0.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack.
  2007-07-12 19:12 [PATCH 1/4] Make swsusp_32.S usable for suspend-to-RAM Scott Wood
  2007-07-12 19:12 ` [PATCH 2/4] Implement arch disable/enable irq hooks Scott Wood
@ 2007-07-12 19:13 ` Scott Wood
  2007-07-13  6:34   ` Paul Mackerras
  2007-07-12 19:13 ` [PATCH 4/4] Add 6xx-style HID0_SLEEP support Scott Wood
  2 siblings, 1 reply; 10+ messages in thread
From: Scott Wood @ 2007-07-12 19:13 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

The e300 core (and probably most other 6xx chips) can only come out of
sleep mode with an interrupt.  However, interrupts are logically disabled
by the power management layer.

This hack extends the existing doze/nap hack to also suppress the running
of the interrupt handler when in sleep mode.

Signed-off-by: Scott Wood <scottwood@freescale.com>
---
 arch/powerpc/kernel/idle_6xx.S |   34 +++++++++++++++++++++++++++++++++-
 1 files changed, 33 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kernel/idle_6xx.S b/arch/powerpc/kernel/idle_6xx.S
index 01bcd52..f45d634 100644
--- a/arch/powerpc/kernel/idle_6xx.S
+++ b/arch/powerpc/kernel/idle_6xx.S
@@ -147,6 +147,12 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
 	isync
 	b	1b
 
+#ifdef CONFIG_PM
+ret_from_sleep:
+	.long	ret_from_except
+	.long	ret_from_except
+#endif
+
 /*
  * Return from NAP/DOZE mode, restore some CPU specific registers,
  * we are called with DR/IR still off and r2 containing physical
@@ -154,7 +160,33 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
  * address).  We have to preserve r10.
  */
 _GLOBAL(power_save_6xx_restore)
-	lwz	r9,_LINK(r11)		/* interrupted in ppc6xx_idle: */
+#ifdef CONFIG_PM
+	mfspr	r9, SPRN_HID0
+	andis.	r9, r9, HID0_SLEEP@h
+	beq+	1f
+
+	/*
+	 * SLEEP mode is invoked through the PM subsystem, which means
+	 * that interrupts should be disabled.  However, the hardware
+	 * requires them to be enabled to wake up.  To prevent the
+	 * interrupt from being visible to Linux, return immediately
+	 * rather than run the interrupt handler.
+	 */
+	lis	r9, ret_from_sleep@h
+	ori	r9, r9, ret_from_sleep@l
+	tophys(r9, r9)
+	mtlr	r9
+
+	/*
+	 * Disable interrupts, so that the interrupt doesn't happen
+	 * again until the PM code sets MSR[EE].
+	 */
+	lwz	r9, _MSR(r11)
+	rlwinm	r9, r9, 0, ~MSR_EE
+	stw	r9, _MSR(r11)
+#endif
+
+1:	lwz	r9,_LINK(r11)		/* interrupted in ppc6xx_idle: */
 	stw	r9,_NIP(r11)		/* make it do a blr */
 
 #ifdef CONFIG_SMP
-- 
1.5.0.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/4] Add 6xx-style HID0_SLEEP support.
  2007-07-12 19:12 [PATCH 1/4] Make swsusp_32.S usable for suspend-to-RAM Scott Wood
  2007-07-12 19:12 ` [PATCH 2/4] Implement arch disable/enable irq hooks Scott Wood
  2007-07-12 19:13 ` [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack Scott Wood
@ 2007-07-12 19:13 ` Scott Wood
  2007-09-05 19:12   ` Guennadi Liakhovetski
  2 siblings, 1 reply; 10+ messages in thread
From: Scott Wood @ 2007-07-12 19:13 UTC (permalink / raw)
  To: paulus; +Cc: linuxppc-dev

Signed-off-by: Scott Wood <scottwood@freescale.com>
---
 arch/powerpc/sysdev/6xx-pm.S |   52 ++++++++++++++++++++++++++++++++++++++++++
 arch/powerpc/sysdev/Makefile |    4 +++
 include/asm-powerpc/mpc6xx.h |    6 +++++
 3 files changed, 62 insertions(+), 0 deletions(-)
 create mode 100644 arch/powerpc/sysdev/6xx-pm.S
 create mode 100644 include/asm-powerpc/mpc6xx.h

diff --git a/arch/powerpc/sysdev/6xx-pm.S b/arch/powerpc/sysdev/6xx-pm.S
new file mode 100644
index 0000000..976ee07
--- /dev/null
+++ b/arch/powerpc/sysdev/6xx-pm.S
@@ -0,0 +1,52 @@
+/*
+ * Enter and leave sleep state on chips with 6xx-style HID0
+ * power management bits.
+ *
+ * Author: Scott Wood <scottwood@freescale.com>
+ *
+ * Copyright (c) 2006-2007 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#include <asm/ppc_asm.h>
+#include <asm/reg.h>
+#include <asm/thread_info.h>
+#include <asm/asm-offsets.h>
+
+_GLOBAL(mpc6xx_enter_sleep)
+	mflr	r4
+
+	mfspr	r5, SPRN_HID0
+	rlwinm	r5, r5, 0, ~(HID0_DOZE | HID0_NAP)
+	oris	r5, r5, HID0_SLEEP@h
+	mtspr	SPRN_HID0, r5
+	isync
+
+	lis	r5, ret_from_sleep@h
+	ori	r5, r5, ret_from_sleep@l
+	mtlr	r5
+
+	rlwinm	r5, r1, 0, 0, 31-THREAD_SHIFT
+	lwz	r6, TI_LOCAL_FLAGS(r5)
+	ori	r6, r6, _TLF_NAPPING
+	stw	r6, TI_LOCAL_FLAGS(r5)
+
+	mfmsr	r5
+	ori	r5, r5, MSR_EE
+	oris	r5, r5, MSR_POW@h
+	sync
+	mtmsr	r5
+	isync
+
+1:	b	1b
+
+ret_from_sleep:
+	mfspr	r5, SPRN_HID0
+	rlwinm	r5, r5, 0, ~HID0_SLEEP
+	mtspr	SPRN_HID0, r5
+
+	mtlr	r4
+	blr
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile
index 7d8ac1b..fdc2a28 100644
--- a/arch/powerpc/sysdev/Makefile
+++ b/arch/powerpc/sysdev/Makefile
@@ -35,3 +35,7 @@ obj-$(CONFIG_CPM2)		+= cpm2_common.o cpm2_pic.o
 obj-$(CONFIG_8xx)		+= mpc8xx_pic.o commproc.o
 obj-$(CONFIG_UCODE_PATCH)	+= micropatch.o
 endif
+
+ifeq ($(CONFIG_PM),y)
+obj-$(CONFIG_6xx)		+= 6xx-pm.o
+endif
diff --git a/include/asm-powerpc/mpc6xx.h b/include/asm-powerpc/mpc6xx.h
new file mode 100644
index 0000000..01a33ed
--- /dev/null
+++ b/include/asm-powerpc/mpc6xx.h
@@ -0,0 +1,6 @@
+#ifndef __ASM_POWERPC_MPC6xx_H
+#define __ASM_POWERPC_MPC6xx_H
+
+void mpc6xx_enter_sleep(void);
+
+#endif
-- 
1.5.0.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack.
  2007-07-12 19:13 ` [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack Scott Wood
@ 2007-07-13  6:34   ` Paul Mackerras
  2007-07-13 18:04     ` Scott Wood
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Mackerras @ 2007-07-13  6:34 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev

Scott Wood writes:

> The e300 core (and probably most other 6xx chips) can only come out of
> sleep mode with an interrupt.  However, interrupts are logically disabled
> by the power management layer.

On powerbooks it's typically a hard reset rather than an interrupt.
Is it possible to use a hard reset on e300-based systems?

Also, if you use an interrupt, presumably the cpu has to do something
to clear the interrupt condition.  What would that be?

Paul.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/4] Implement arch disable/enable irq hooks.
  2007-07-12 19:12 ` [PATCH 2/4] Implement arch disable/enable irq hooks Scott Wood
@ 2007-07-13 10:10   ` Johannes Berg
  2007-07-13 10:11   ` Johannes Berg
  1 sibling, 0 replies; 10+ messages in thread
From: Johannes Berg @ 2007-07-13 10:10 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev, paulus

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

On Thu, 2007-07-12 at 14:12 -0500, Scott Wood wrote:
> These hooks ensure that a decrementer interrupt is not pending when
> suspending; otherwise, problems may occur.  For example, with deep sleep
> on the 831x, a pending decrementer will cause a system freeze because the
> SoC thinks the decrementer interrupt would have woken the system, but the
> core must have interrupts disabled due to the setup required for deep
> sleep.

> +/* Overrides the weak version in kernel/power/main.c */
> +void arch_suspend_disable_irqs(void)
> +{
> +	if (ppc_md.suspend_disable_irqs)
> +		ppc_md.suspend_disable_irqs();
> +	else
> +		generic_suspend_disable_irqs();
> +}

Looks good to me, thanks for the update with ppc_md.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/4] Implement arch disable/enable irq hooks.
  2007-07-12 19:12 ` [PATCH 2/4] Implement arch disable/enable irq hooks Scott Wood
  2007-07-13 10:10   ` Johannes Berg
@ 2007-07-13 10:11   ` Johannes Berg
  1 sibling, 0 replies; 10+ messages in thread
From: Johannes Berg @ 2007-07-13 10:11 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev, paulus

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

On Thu, 2007-07-12 at 14:12 -0500, Scott Wood wrote:


> +void generic_suspend_disable_irqs(void)

> +void generic_suspend_enable_irqs(void)

Oh hm on second thought, can we have these in some header file so we can
call them if we need to use the ppc_md hooks?

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack.
  2007-07-13  6:34   ` Paul Mackerras
@ 2007-07-13 18:04     ` Scott Wood
  0 siblings, 0 replies; 10+ messages in thread
From: Scott Wood @ 2007-07-13 18:04 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev

Paul Mackerras wrote:
> Scott Wood writes:
> 
> 
>>The e300 core (and probably most other 6xx chips) can only come out of
>>sleep mode with an interrupt.  However, interrupts are logically disabled
>>by the power management layer.
> 
> 
> On powerbooks it's typically a hard reset rather than an interrupt.
> Is it possible to use a hard reset on e300-based systems?

The 8313 can do this (see the deep sleep portion of the 83xx PM patch 
that I posted), but others can't.  Even on the 8313, it's not always 
desireable to use deep sleep, due to limited wakeup sourcers, higher 
latency, etc.

> Also, if you use an interrupt, presumably the cpu has to do something
> to clear the interrupt condition.  What would that be?

The caller's MSR[EE] is cleared in power_save_6xx_restore, so the 
interrupt won't happen again until the PM code re-enables MSR[EE].

-Scott

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 4/4] Add 6xx-style HID0_SLEEP support.
  2007-07-12 19:13 ` [PATCH 4/4] Add 6xx-style HID0_SLEEP support Scott Wood
@ 2007-09-05 19:12   ` Guennadi Liakhovetski
  2007-09-05 19:14     ` Scott Wood
  0 siblings, 1 reply; 10+ messages in thread
From: Guennadi Liakhovetski @ 2007-09-05 19:12 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev, paulus

On Thu, 12 Jul 2007, Scott Wood wrote:

> Signed-off-by: Scott Wood <scottwood@freescale.com>
> ---
>  arch/powerpc/sysdev/6xx-pm.S |   52 ++++++++++++++++++++++++++++++++++++++++++
>  arch/powerpc/sysdev/Makefile |    4 +++
>  include/asm-powerpc/mpc6xx.h |    6 +++++
>  3 files changed, 62 insertions(+), 0 deletions(-)
>  create mode 100644 arch/powerpc/sysdev/6xx-pm.S
>  create mode 100644 include/asm-powerpc/mpc6xx.h

Hi Scott

has this patch (series) been pushed in any upstream tree? Don't see it in 
the current powerpc.git nor in -mm. If I'm right and it's not upstream 
yet, Paul, what are the plans wrt these patches?

Thanks
Guennadi
---
Guennadi Liakhovetski

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 4/4] Add 6xx-style HID0_SLEEP support.
  2007-09-05 19:12   ` Guennadi Liakhovetski
@ 2007-09-05 19:14     ` Scott Wood
  0 siblings, 0 replies; 10+ messages in thread
From: Scott Wood @ 2007-09-05 19:14 UTC (permalink / raw)
  To: Guennadi Liakhovetski; +Cc: linuxppc-dev, paulus

On Wed, Sep 05, 2007 at 09:12:30PM +0200, Guennadi Liakhovetski wrote:
> On Thu, 12 Jul 2007, Scott Wood wrote:
> 
> > Signed-off-by: Scott Wood <scottwood@freescale.com>
> > ---
> >  arch/powerpc/sysdev/6xx-pm.S |   52 ++++++++++++++++++++++++++++++++++++++++++
> >  arch/powerpc/sysdev/Makefile |    4 +++
> >  include/asm-powerpc/mpc6xx.h |    6 +++++
> >  3 files changed, 62 insertions(+), 0 deletions(-)
> >  create mode 100644 arch/powerpc/sysdev/6xx-pm.S
> >  create mode 100644 include/asm-powerpc/mpc6xx.h
> 
> Hi Scott
> 
> has this patch (series) been pushed in any upstream tree? Don't see it in 
> the current powerpc.git nor in -mm. If I'm right and it's not upstream 
> yet, Paul, what are the plans wrt these patches?

I have a respin coming soon.

-Scott

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-05 19:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 19:12 [PATCH 1/4] Make swsusp_32.S usable for suspend-to-RAM Scott Wood
2007-07-12 19:12 ` [PATCH 2/4] Implement arch disable/enable irq hooks Scott Wood
2007-07-13 10:10   ` Johannes Berg
2007-07-13 10:11   ` Johannes Berg
2007-07-12 19:13 ` [PATCH 3/4] pm: Handle HID0_SLEEP in the TLF_NAPPING hack Scott Wood
2007-07-13  6:34   ` Paul Mackerras
2007-07-13 18:04     ` Scott Wood
2007-07-12 19:13 ` [PATCH 4/4] Add 6xx-style HID0_SLEEP support Scott Wood
2007-09-05 19:12   ` Guennadi Liakhovetski
2007-09-05 19:14     ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).