s390/decompressor: support uncompressed kernel
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 12 Jun 2018 22:00:25 +0000 (00:00 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 25 Jun 2018 08:14:40 +0000 (10:14 +0200)
commit89b5202e81df9f0f0f0a11cf8c78bc8bfdc52a21
tree547dbff5b9d5eb829827cb9f9c50f44f9bf47e5a
parentf16466af385b985f8d56f3fc50146ab41ec0dd89
s390/decompressor: support uncompressed kernel

Implement uncompressed kernel support (when "None" is picked in kernel
compression mode list). In that case an actual decompression code is
skipped and control is passed from boot/head.S to startup_continue in
kernel/head64.S. To achieve that uncompressed kernel payload is
conditionally put at 0x100000 in bzImage.

In reality this is very close to classic uncompressed kernel "image",
but the decompressor has its own build and link process,
kernel/head64.S lives at 0x100000 rather than at 0x11000, and .bss
section is reused for both stages.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/Kconfig
arch/s390/boot/compressed/Makefile
arch/s390/boot/compressed/vmlinux.lds.S
arch/s390/boot/compressed/vmlinux.scr.lds.S
arch/s390/boot/head.S