diff options
author | John Rose <johnrose@austin.ibm.com> | 2006-11-08 10:07:30 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-11-10 21:35:36 +1100 |
commit | ae883cab9457aad0fb3342249e1207873d3b64de (patch) | |
tree | 4a3a5841ad0bd947ac030b101f9bc541c8e859fd /arch/powerpc/platforms/cell | |
parent | 0091cf5a6ae6e52fc95ceb53200975ef2c81c206 (diff) |
[POWERPC] pseries: Force 4k update_flash block and list sizes
The enablement of 64k pages on pseries platforms exposed a bug in
the RTAS mechanism for updating firmware. RTAS assumes 4k for flash
block and list sizes, and use of any other sizes results in a failure,
even though PAPR does not specify any such requirement.
This patch changes the rtas_flash module to force the use of 4k memory
block and list sizes when preparing and sending a firmware image to
RTAS. The rtas_flash function now uses a slab cache of 4k blocks with
4k alignment, rather than get_zeroed_page(), to allocate the memory for
the flash blocks and lists. The 4k alignment requirement is specified
in PAPR.
Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell')
0 files changed, 0 insertions, 0 deletions