From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Cbe-oss-dev] [PATCH] Ignore memory listed in PS3 device tree From: Benjamin Herrenschmidt To: David Woodhouse In-Reply-To: <1175208237.3122.78.camel@pmac.infradead.org> References: <1175208237.3122.78.camel@pmac.infradead.org> Content-Type: text/plain Date: Fri, 30 Mar 2007 09:23:28 +1000 Message-Id: <1175210608.5624.42.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, cbe-oss-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2007-03-29 at 23:43 +0100, David Woodhouse wrote: > The old 2.6.16 kernel handled memory statically and it was shown in the > device tree. The current kernel deals with the hypervisor and hotplugs > the memory, so we should just ignore anything that's reported in the > device-tree. This enables the current kernel to be booted from 2.6.16 > without evil hacks in head_64.S to override the device-tree. > > Signed-off-by: David Woodhouse How can this work ? Memory is parsed from early_init_devtree() which is called before the platform probe() routines which is the one that sets FW_FEATURE_PS3_LV1... It's really annoying that they didn't get their device-tree right in the first place. They should put the RMO in there and nothing else I suppose. Ben.