Re: [Cbe-oss-dev] [PATCH] Ignore memory listed in PS3 device tree
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-04-06 23:35:07
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-04-06 23:35:07
On Fri, 2007-04-06 at 18:43 -0400, David Woodhouse wrote:
On Sat, 2007-04-07 at 08:34 +1000, Benjamin Herrenschmidt wrote:quoted
A bit yukcy but I suppose it'll do for now ... though this shouldn't be kept as a long term approach unless there's some versionning or such. You also need to pull the initrd btw.I really don't think we should be doing it like that in the kernel proper. Provide a DT blob in the bootwrapper by all means, but there's no real need to override the device-tree like that when all we really need to do is refrain from crashing when there's memory listed in the device-tree.
That's not the only bug of the old device-tree though.
If we're going to avoid hacking kexec userspace tools, we _want_ the RMO memory listed in the device-tree anyway. But we can fix that up for ourselves rather than overriding the whole device-tree, surely?