]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 16 Sep 2022 08:52:06 +0000 (10:52 +0200)
commit98068496136dbd6ea044a966113e001d399576dc
tree0ae2b83d60ef858fa74ad95e9d792df8d4761bd6
parenteaa7f35b3827f5f5d03774cdd3535a569275bdb2
s390/boot: allocate amode31 section in decompressor

BugLink: https://bugs.launchpad.net/bugs/1987451
[ Upstream commit e3ec8e0f5711d73f7e5d5c3cffdf4fad4f1487b9 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.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