Skip to contentSkip to conversation

boot hang

PATCH Kevin Diggs 1 participant 1 message May 26, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I am getting a boot hang right after a message something like:

console handover

I am trying to stop the reloading of HID1 out of nap:

idle_6xx-new_S 2008-05-26 10:01:58.000000000 -0700 renamed from idle_6xx-old_S 2008-02-25 18:10:30.000000000 -0800 +9 -0
@@ -179,9 +179,15 @@
 1:
 END_FTR_SECTION_IFSET(CPU_FTR_NAP_DISABLE_L2_PR)
 BEGIN_FTR_SECTION
+       /* 750FX/GX CPU Freq support requires this be disabled */
+       lis     r9,powersave_nap_no_hid1@ha
+       lwz     r9,powersave_nap_no_hid1@l(r9)
+       cmpwi   0,r9,0
+       beq     1f
        addis   r9,r11,(nap_save_hid1-KERNELBASE)@ha
        lwz     r9,nap_save_hid1@l(r9)
        mtspr   SPRN_HID1, r9
+1:
 END_FTR_SECTION_IFSET(CPU_FTR_DUAL_PLL_750FX)
        b       transfer_to_handler_cont
 
@@ -195,3 +201,6 @@
 
 _GLOBAL(powersave_lowspeed)
        .long   0
+
+_GLOBAL(powersave_nap_no_hid1)
+       .long   0

I also added powersave_lowspeed and powersave_nap_no_hid1 to the end of ppc_ksyms.c.

Any suggestions would be appreciated.

kevin