aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/boot/compressed/vmlinux.lds.S
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2019-04-01 19:10:45 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-10 17:47:09 +0200
commitbf9921a9c15bad089c08b94c300a6cafa035a612 (patch)
treedd69b006096cdae6c93cb892d892b00dc7e63e68 /arch/s390/boot/compressed/vmlinux.lds.S
parents390/cpum_cf: Add support for CPU-MF SVN 6 (diff)
downloadlinux-dev-bf9921a9c15bad089c08b94c300a6cafa035a612.tar.xz
linux-dev-bf9921a9c15bad089c08b94c300a6cafa035a612.zip
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>
Diffstat (limited to 'arch/s390/boot/compressed/vmlinux.lds.S')
-rw-r--r--arch/s390/boot/compressed/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/boot/compressed/vmlinux.lds.S b/arch/s390/boot/compressed/vmlinux.lds.S
index 7efc3938f595..1c8ef393c656 100644
--- a/arch/s390/boot/compressed/vmlinux.lds.S
+++ b/arch/s390/boot/compressed/vmlinux.lds.S
@@ -34,6 +34,7 @@ SECTIONS
_edata = . ;
}
BOOT_DATA
+ BOOT_DATA_PRESERVED
/*
* uncompressed image info used by the decompressor it should match