linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
	Paul Mackerras <paulus@samba.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: BUG: 2.6.11-rc2 and -rc1 hang during boot on PowerMacs
Date: Tue, 25 Jan 2005 14:25:14 +1100	[thread overview]
Message-ID: <1106623515.6244.11.camel@gaston> (raw)
In-Reply-To: <16885.13185.849070.479328@alkaid.it.uu.se>

On Mon, 2005-01-24 at 18:42 +0100, Mikael Pettersson wrote:
> Benjamin Herrenschmidt writes:
>  > On Sun, 2005-01-23 at 11:43 +1100, Benjamin Herrenschmidt wrote:
>  > 
>  > > I know about this problem, I'm working on a proper fix. Thanks for your
>  > > report.
>  > 
>  > Can you send me the PVR value for both of these CPUs
>  > (cat /proc/cpuinfo) ? I can't find right now why they would lock up
>  > unless the default idle loop is _not_ run properly, that is for some
>  > reason, NAP or DOZE mode end up not beeing enabled. Can you send me
>  > your .config as well ?
> 
> === cpuinfo.emac ===
> processor	: 0
> cpu		: 7447/7457, altivec supported
> clock		: 1249MHz
> revision	: 1.1 (pvr 8002 0101)
> bogomips	: 830.66
> machine		: PowerMac6,4
> motherboard	: PowerMac6,4 MacRISC3 Power Macintosh 
> detected as	: 287 (Unknown Intrepid-based)
> pmac flags	: 00000000
> L2 cache	: 512K unified
> memory		: 256MB
> pmac-generation	: NewWorld

Ok, it's normal that the Beige G3 doesn't do NAP, and the 7455 cannot do
DOZE, so I suspect it's all normal and my patch fixes it.

However, the eMac should have been doing NAP. Can you check what's up in
arch/ppc/plaform/pmac_feature.c with powersave_nap ? is it set at all ?
It should be visible from userland at /proc/sys/kernel/powersave-nap
and should be set to 1 by default on your machine... unless your cpu
node in the device-tree has the "flush-on-lock" property...
 
Ben.

  reply	other threads:[~2005-01-25  3:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-22 17:23 BUG: 2.6.11-rc2 and -rc1 hang during boot on PowerMacs Mikael Pettersson
2005-01-23  0:43 ` Benjamin Herrenschmidt
2005-01-24  1:25   ` Benjamin Herrenschmidt
2005-01-24 17:42     ` Mikael Pettersson
2005-01-25  3:25       ` Benjamin Herrenschmidt [this message]
2005-01-25  8:56         ` Mikael Pettersson
2005-01-25 23:47           ` Benjamin Herrenschmidt
2005-01-26 10:02             ` Mikael Pettersson
2005-01-26 13:51               ` Benjamin Herrenschmidt
2005-01-26 21:33     ` Sylvain Munaut
2005-01-26 22:11       ` Benjamin Herrenschmidt

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=1106623515.6244.11.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mikpe@csd.uu.se \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).