]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbfad44d954246267e7dcdd39ed4710f939df300
tree547dbff5b9d5eb829827cb9f9c50f44f9bf47e5a
parent7a77ef92c24d2214d3e792d683323405dfbfd062
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