]> git.baikalelectronics.ru Git - kernel.git/commit
s390: introduce .boot.data section
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 10 Apr 2018 12:14:02 +0000 (14:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2018 09:21:06 +0000 (11:21 +0200)
commit9501b1ad08407f9882d0db53994207953bc20b72
tree365847541f8313f4771223357ce68c2c945ea8fd
parentfe9926b567ca5c7020e72f84a90fb77b8749b3fd
s390: introduce .boot.data section

Introduce .boot.data section which is "shared" between the decompressor
code and the decompressed kernel. The decompressor will store values in
it, and copy over to the decompressed image before starting it. This
method allows to avoid using pre-defined addresses and other hacks to
pass values between those boot phases.

.boot.data section is a part of init data, and will be freed after kernel
initialization is complete.

For uncompressed kernel image, .boot.data section is basically the same
as .init.data

Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/compressed/decompressor.h
arch/s390/boot/compressed/vmlinux.lds.S
arch/s390/boot/startup.c
arch/s390/include/asm/sections.h
arch/s390/include/asm/vmlinux.lds.h [new file with mode: 0644]
arch/s390/kernel/vmlinux.lds.S