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

David Woodhouse dwmw2 at infradead.org
Wed Apr 4 00:45:38 EST 2007


On Mon, 2007-04-02 at 23:16 -0400, David Woodhouse wrote:
> > > My question remains: shouldn't Linux get that
> > > information from the device tree, instead?  The
> > > bootwrapper or bootloader can put it there.
> > 
> > Yes it _should_, but it doesn't.
> 
> It _used_ to. The 2.6.16 kernel just used the memory listed in the
> device tree. That's _why_ we need this hack -- because when we boot
> from
> 2.6.16 with the memory listed in the device tree, it ends up getting
> registered twice by the new kernel. 

Why _did_ we make this change? It makes /sbin/kexec unhappy too, since
it doesn't like the apparent lack of _any_ memory.

It's not as if anyone's going to be expanding the amount of memory in
their PS3, so it really needs to be dynamically detected.

If we were to put the memory back in the device-tree, and start with a
single region up to 0x07c00000 followed by another region with the rest
of it, then we wouldn't need the rmo_top hack to /sbin/kexec either.

-- 
dwmw2




More information about the Linuxppc-dev mailing list