• Vasily Gorbik's avatar
    s390: remove decompressor's head.S · 8f75582a
    Vasily Gorbik authored
    Decompressor's head.S provided "data mover" sole purpose of which has
    been to safely move uncompressed kernel at 0x100000 and jump to it.
    
    With current bzImage layout entire decompressor's code guaranteed to be
    in a safe location under 0x100000, and hence could not be overwritten
    during kernel move. For that reason head.S could be replaced with simple
    memmove function. To do so introduce early boot code phase which is
    executed from arch/s390/boot/head.S after "verify_facilities" and takes
    care of optional kernel image decompression and transition to it.
    Reviewed-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    8f75582a
head.S 8.48 KB