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)
commitd1b52a4388ffdcff47fb53de7fffe052fe766a9f
tree365847541f8313f4771223357ce68c2c945ea8fd
parent7516fc11e44e73f1fcf8a3808dd88f82142e6585
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