diff options
author | 2006-11-08 10:07:30 -0600 | |
---|---|---|
committer | 2006-11-10 21:35:36 +1100 | |
commit | ae883cab9457aad0fb3342249e1207873d3b64de (patch) | |
tree | 4a3a5841ad0bd947ac030b101f9bc541c8e859fd /net/core/netpoll.c | |
parent | [POWERPC] CPM_UART: Fix non-console initialisation (diff) | |
download | wireguard-linux-ae883cab9457aad0fb3342249e1207873d3b64de.tar.xz wireguard-linux-ae883cab9457aad0fb3342249e1207873d3b64de.zip |
[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 'net/core/netpoll.c')
0 files changed, 0 insertions, 0 deletions