public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* boot hang
@ 2008-05-26 18:21 Kevin Diggs
  0 siblings, 0 replies; only message in thread
From: Kevin Diggs @ 2008-05-26 18:21 UTC (permalink / raw)
  To: linuxppc-dev

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-old_S      2008-02-25 18:10:30.000000000 -0800
+++ idle_6xx-new_S      2008-05-26 10:01:58.000000000 -0700
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-26 18:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-26 18:21 boot hang Kevin Diggs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox