s390: introduce .boot.preserved.data section
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Mon, 1 Apr 2019 17:10:45 +0000 (19:10 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Apr 2019 15:47:09 +0000 (17:47 +0200)
commitbf9921a9c15bad089c08b94c300a6cafa035a612
treedd69b006096cdae6c93cb892d892b00dc7e63e68
parent46a984ffb86c8542fa510656fa8cb33befe8ee8f
s390: introduce .boot.preserved.data section

Introduce .boot.preserve.data section which is similar to .boot.data and
"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.

Unlike .boot.data section .boot.preserved.data is NOT a part of init data,
and hence will be preserved for the kernel life time.

Signed-off-by: Gerald Schaefer <gerald.schaefer@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
arch/s390/kernel/vmlinux.lds.S