Re: [PATCH] powerpc: rtas_flash cannot be a module

2010-06-12 Thread Anton Blanchard
Hi, > So we should use that rtas_data_buf with its lock ... > > Oh look, the driver already uses that buffer for the call to verify_flash > > untested patch to follow Thanks, it built and tested OK with the following patch. Will send a complete patch with these changes in a minute. Anton --

Re: [PATCH] powerpc: rtas_flash cannot be a module

2010-06-11 Thread Milton Miller
On Wed, 9 Jun 2010 at about 16:01:10 +1000 Anton Blanchard wrote: > > When trying to flash a machine via the update_flash command, I received the > following error: > > > Restarting system. > FLASH: kernel bug...flash list header addr above 4GB > > > The code in question has a comment

[PATCH] powerpc: rtas_flash cannot be a module

2010-06-08 Thread Anton Blanchard
When trying to flash a machine via the update_flash command, I received the following error: Restarting system. FLASH: kernel bug...flash list header addr above 4GB The code in question has a comment that the flash list should be in the kernel data and therefore under 4GB: /*