Subject: Re: [Cbe-oss-dev] [PATCH] Ignore memory listed in PS3 device tree

From: Segher Boessenkool <[email-masked]>
Date: Mon, 2 Apr 2007 19:36:40 +0200

>>> 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.
>>
>> Surely when you are booted you already have some
>> memory plugged for you -- shouldn't that memory be
>> in the device tree?
>
> See ps3_mm_init(), called from _probe_.

Yes sure, the hypervisor has given you some memory
already, and it tells you about it.

My question remains: shouldn't Linux get that
information from the device tree, instead?  The
bootwrapper or bootloader can put it there.

Segher