]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6470629e1c1c5e2976c68aeca02e9dd5a87ef53
treedd69b006096cdae6c93cb892d892b00dc7e63e68
parent07bd4707f3933648dce7ed0c8afda5c034cb9a0b
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