[Cbe-oss-dev] [PATCH] Ignore memory listed in PS3 device tree
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Mar 30 09:23:28 EST 2007
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 <dwmw2 at infradead.org>
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.
More information about the Linuxppc-dev
mailing list