From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18088.5537.900347.861055@cargo.ozlabs.ibm.com> Date: Thu, 26 Jul 2007 13:31:45 +1000 From: Paul Mackerras To: Kim Phillips Subject: Re: [PATCH] Re: 2.6.22-git hangs during boot on PowerBook G3 in 0.0 seconds In-Reply-To: <20070724185946.722f34b5.kim.phillips@freescale.com> References: <20070721192143.GA12144@nospam.com> <20070721212845.GA30977@nospam.com> <20070723172725.b1c14885.kim.phillips@freescale.com> <1185234923.5439.158.camel@localhost.localdomain> <20070724185946.722f34b5.kim.phillips@freescale.com> Cc: Rutger Nijlunsing , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Kim Phillips writes: > but yeah, size-cells should be allowed to be 0 (even address-cells) and > it may be the case that the Lombard needs some fixup code. So it turns out that the nvram is under the via-pmu node on the Lombard. The via-pmu node has #size-cells == 0, which is correct since things under the via-pmu aren't directly accessible. The nvram driver code relies on not being able to translate an address for the nvram nodes on machines where the nvram isn't directly accessible. That is, it looks for "nvram" nodes, and if it can translate the address, assumes it can access the nvram directly. So nothing is incorrect here except your patch. :) I'll revert it. Paul.