Re: rtas instantiation when commandline contains mem

2009-07-17 Thread Michael Ellerman
On Fri, 2009-07-17 at 08:36 +0200, Benjamin Krill wrote: > >> the rtas instantiation (prom_init.c) doesn't work correctly if the > >> kernel parameter "mem=" is used. The current code doesn't evaluate > >> the kernel parameter which causes the issue that alloc_down > >> allocates somewhere in the "

Re: rtas instantiation when commandline contains mem

2009-07-16 Thread Benjamin Herrenschmidt
On Fri, 2009-07-17 at 08:36 +0200, Benjamin Krill wrote: > >> the rtas instantiation (prom_init.c) doesn't work correctly if the > >> kernel parameter "mem=" is used. The current code doesn't evaluate > >> the kernel parameter which causes the issue that alloc_down > >> allocates somewhere in the "

Re: rtas instantiation when commandline contains mem

2009-07-16 Thread Benjamin Krill
>> the rtas instantiation (prom_init.c) doesn't work correctly if the >> kernel parameter "mem=" is used. The current code doesn't evaluate >> the kernel parameter which causes the issue that alloc_down >> allocates somewhere in the "real" memory space. So it can >> happen that the allocation space

Re: rtas instantiation when commandline contains mem

2009-07-16 Thread Benjamin Herrenschmidt
On Thu, 2009-07-16 at 15:12 +0200, Benjamin Krill wrote: > Hi, > > the rtas instantiation (prom_init.c) doesn't work correctly if the > kernel parameter "mem=" is used. The current code doesn't evaluate > the kernel parameter which causes the issue that alloc_down > allocates somewhere in the "rea