public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Kevin Diggs <kevdig@hypersurf•com>
To: linuxppc-dev@ozlabs•org
Subject: boot hang
Date: Mon, 26 May 2008 11:21:19 -0700	[thread overview]
Message-ID: <483AFF9F.7090704@hypersurf.com> (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-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

                 reply	other threads:[~2008-05-26 18:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=483AFF9F.7090704@hypersurf.com \
    --to=kevdig@hypersurf$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox