diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-06-13 00:00:25 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-06-25 10:14:40 +0200 |
commit | 89b5202e81df9f0f0f0a11cf8c78bc8bfdc52a21 (patch) | |
tree | 547dbff5b9d5eb829827cb9f9c50f44f9bf47e5a /arch/s390/Kconfig | |
parent | f16466af385b985f8d56f3fc50146ab41ec0dd89 (diff) | |
download | linux-89b5202e81df9f0f0f0a11cf8c78bc8bfdc52a21.tar.gz linux-89b5202e81df9f0f0f0a11cf8c78bc8bfdc52a21.tar.bz2 linux-89b5202e81df9f0f0f0a11cf8c78bc8bfdc52a21.zip |
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>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r-- | arch/s390/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index baed39772c84..3023fa00e4b5 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -146,6 +146,7 @@ config S390 select HAVE_KERNEL_LZ4 select HAVE_KERNEL_LZMA select HAVE_KERNEL_LZO + select HAVE_KERNEL_UNCOMPRESSED select HAVE_KERNEL_XZ select HAVE_KPROBES select HAVE_KRETPROBES |