# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID 7669fca80bfc42aae163b38d4a17cea729c21cf7
# Parent  0e85b389980ad1a4d135773d807825d91a94ae9c
[XEN][POWERPC] Allow DPM but not NAP in powersave

Thanks to Segher Boessenkool <[EMAIL PROTECTED]> for clarifying.

Signed-off-by: Jimi Xenidis <[EMAIL PROTECTED]>
Acked-by: Amos Waterland <[EMAIL PROTECTED]>
---
 xen/arch/powerpc/powerpc64/ppc970.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 0e85b389980a -r 7669fca80bfc xen/arch/powerpc/powerpc64/ppc970.c
--- a/xen/arch/powerpc/powerpc64/ppc970.c       Fri Dec 01 19:11:02 2006 -0500
+++ b/xen/arch/powerpc/powerpc64/ppc970.c       Mon Dec 04 11:46:53 2006 -0500
@@ -193,10 +193,10 @@ void cpu_initialize(int cpuid)
     mtdec(timebase_freq);
     mthdec(timebase_freq);
 
-    /* FIXME Do not set the NAP and DPM bits in HID0 until we have had a
-     * chance to audit the safe halt and idle loop code. */
+    /* FIXME Do not set the NAP bit in HID0 until we have had a chance
+     * to audit the safe halt and idle loop code. */
     hid0.bits.nap = 0;      /* NAP */
-    hid0.bits.dpm = 0;      /* Dynamic Power Management */
+    hid0.bits.dpm = 1;      /* Dynamic Power Management */
 
     hid0.bits.nhr = 1;      /* Not Hard Reset */
     hid0.bits.hdice_en = 1; /* enable HDEC */

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to