• arnd@arndb.de's avatar
    [POWERPC] spufs: one more fix for 64k pages · 37950718
    arnd@arndb.de authored
    The SPU context save/restore code is currently built
    for a 4k page size and we provide a _shipped version
    of it since most people don't have the spu toolchain
    that is needed to rebuild that code.
    
    This patch hardcodes the data structures to a 64k
    page alignment, which also guarantees 4k alignment
    but unfortunately wastes 60k of memory per SPU
    context that is created in the running system.
    
    We will follow up on this with another patch to
    reduce that overhead or maybe redo the context
    save/restore logic to do this part entirely different,
    but for now it should make experimental systems
    work with either page size.
    Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    37950718
spu_csa.h 6.9 KB