direct-io.hg

changeset 12972:9d83185b4c37

[XEN][POWERPC] should comment the Power Managment workaround in the code as well
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Fri Dec 01 19:11:02 2006 -0500 (2006-12-01)
parents 6deca1ea217f
children a510c94ceaa3
files xen/arch/powerpc/powerpc64/ppc970.c
line diff
     1.1 --- a/xen/arch/powerpc/powerpc64/ppc970.c	Tue Nov 28 19:01:46 2006 -0500
     1.2 +++ b/xen/arch/powerpc/powerpc64/ppc970.c	Fri Dec 01 19:11:02 2006 -0500
     1.3 @@ -193,8 +193,11 @@ void cpu_initialize(int cpuid)
     1.4      mtdec(timebase_freq);
     1.5      mthdec(timebase_freq);
     1.6  
     1.7 -    hid0.bits.nap = 1;      /* NAP */
     1.8 +    /* FIXME Do not set the NAP and DPM bits in HID0 until we have had a
     1.9 +     * chance to audit the safe halt and idle loop code. */
    1.10 +    hid0.bits.nap = 0;      /* NAP */
    1.11      hid0.bits.dpm = 1;      /* Dynamic Power Management */
    1.12 +
    1.13      hid0.bits.nhr = 1;      /* Not Hard Reset */
    1.14      hid0.bits.hdice_en = 1; /* enable HDEC */
    1.15      hid0.bits.en_therm = 0; /* ! Enable ext thermal ints */