Re: [patch 1/7] ps3: Preallocate bootmem memory for the PS3 FLASH ROM storage driver

2007-05-27 Thread Arnd Bergmann
On Sunday 27 May 2007, Benjamin Herrenschmidt wrote: > On Sat, 2007-05-26 at 10:51 +0200, Geert Uytterhoeven wrote: > > Do you know another way to allocate an aligned chunk of 256 KiB of > > physically > > contiguous memory, possibly a long time after boot up? > > kmalloc & a good prayer ? :-0 s/

Re: [patch 1/7] ps3: Preallocate bootmem memory for the PS3 FLASH ROM storage driver

2007-05-26 Thread Benjamin Herrenschmidt
On Sat, 2007-05-26 at 10:51 +0200, Geert Uytterhoeven wrote: > > I know. > > Do you know another way to allocate an aligned chunk of 256 KiB of > physically > contiguous memory, possibly a long time after boot up? kmalloc & a good prayer ? :-0 Ben. - To unsubscribe from this list: send the li

Re: [patch 1/7] ps3: Preallocate bootmem memory for the PS3 FLASH ROM storage driver

2007-05-26 Thread Geert Uytterhoeven
On Sat, 26 May 2007, Benjamin Herrenschmidt wrote: > On Fri, 2007-05-25 at 10:36 +0200, [EMAIL PROTECTED] wrote: > > -#if defined(CONFIG_FB_PS3) || defined(CONFIG_FB_PS3_MODULE) > > +#if defined(CONFIG_FB_PS3) || defined(CONFIG_FB_PS3_MODULE) || \ > > +defined(CONFIG_PS3_FLASH_MODULE) || > > de

Re: [patch 1/7] ps3: Preallocate bootmem memory for the PS3 FLASH ROM storage driver

2007-05-25 Thread Benjamin Herrenschmidt
On Fri, 2007-05-25 at 10:36 +0200, [EMAIL PROTECTED] wrote: > -#if defined(CONFIG_FB_PS3) || defined(CONFIG_FB_PS3_MODULE) > +#if defined(CONFIG_FB_PS3) || defined(CONFIG_FB_PS3_MODULE) || \ > +defined(CONFIG_PS3_FLASH_MODULE) || > defined(CONFIG_PS3_FLASH_MODULE) As I said multiple times, imh

[patch 1/7] ps3: Preallocate bootmem memory for the PS3 FLASH ROM storage driver

2007-05-25 Thread Geert . Uytterhoeven
Preallocate 256 KiB of bootmem memory for the PS3 FLASH ROM storage driver. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/setup.c | 19 ++- include/asm-powerpc/ps3.h |1 + 2 files