Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
John Rose ae883cab94 [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>
2006-11-10 21:35:36 +11:00
..
2006-09-14 10:36:11 +10:00
2006-09-11 13:32:30 -04:00
2006-11-01 14:52:48 +11:00
2006-08-25 14:56:07 +10:00
2006-04-22 18:45:05 +10:00
2006-08-25 14:56:07 +10:00
2006-08-25 14:56:07 +10:00
2006-08-08 17:08:56 +10:00
2006-06-15 19:31:26 +10:00
2006-08-31 15:45:48 +10:00