]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] powerpc: incorrect rmo_top handling in prom_init
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 2 Mar 2006 23:35:40 +0000 (10:35 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 3 Mar 2006 11:01:05 +0000 (22:01 +1100)
commit9a69d58d8835b7ea4979002544f6d0e1bd019fd3
treef2b6c25bc8bd40db6b5dda217dc3c29a4ce06127
parent7ffad58b6ee9c18b8cbb1aaf5d66cf6cdfead218
[PATCH] powerpc: incorrect rmo_top handling in prom_init

On Thu, 2006-03-02 at 19:55 +0100, Olaf Hering wrote:

> My iBook1 has 2 memory regions in reg. Depending on how I boot it
> (vmlinux+initrd) or zImage.initrd, it will not boot with current Linus
> tree.
> rmo_top should be 160MB instead of 32MB.

On logically-partitioned machines the first element of the reg
property in the memory node is defined to be the "RMO" region,
i.e. the memory that the processor can access in real mode.  On other
machines the first element has no special meaning, so only take it to
be the RMO region on LPAR machines.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_init.c