]> git.baikalelectronics.ru Git - kernel.git/commit
s390/boot: allocate amode31 section in decompressor
authorAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 27 Sep 2021 12:18:26 +0000 (14:18 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 4 Oct 2021 07:49:37 +0000 (09:49 +0200)
commitd22c93b1df6400164b22c794adb78d37e2eff50e
tree2738a712dccce610d38bb03ea51721e83371f6c3
parent8e99dd7f53eccc0fc199dd9f2dae5e7566623df8
s390/boot: allocate amode31 section in decompressor

The memory for amode31 section is allocated from the decompressed
kernel. Instead, allocate that memory from the decompressor. This
is a prerequisite to allow initialization of the virtual memory
before the decompressed kernel takes over.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/boot/compressed/decompressor.h
arch/s390/boot/startup.c
arch/s390/kernel/entry.h
arch/s390/kernel/setup.c
arch/s390/kernel/vmlinux.lds.S