[Cbe-oss-dev] [PATCH] Ignore memory listed in PS3 device tree
Michael Ellerman
michael at ellerman.id.au
Tue Apr 3 12:42:13 EST 2007
On Mon, 2007-04-02 at 19:36 +0200, Segher Boessenkool 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.
> >>
> >> 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 point was it's not coming out of the device tree, it's just manually
lmb_add'ed.
> 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.
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20070403/9321e403/attachment.pgp>
More information about the cbe-oss-dev
mailing list