]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/kexec_file: Load new kernel to absolute 0
authorPhilipp Rudo <prudo@linux.ibm.com>
Thu, 7 Mar 2019 14:56:34 +0000 (15:56 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 29 Apr 2019 08:44:00 +0000 (10:44 +0200)
commit653beba24d4cd281b078eab48c9bce956939061c
tree666e391e3156330ba0f82d216408aae68bd9e2e6
parent8e4964261374aaec9f4a83de076ceb11c8cdc044
s390/kexec_file: Load new kernel to absolute 0

The leading 64 kB of a kernel image doesn't contain any data needed to boot
the new kernel when it was loaded via kexec_file. Thus kexec_file currently
strips them off before loading the image. Keep the leading 64 kB in order
to be able to pass a ipl_report to the next kernel.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/kexec.h
arch/s390/kernel/kexec_elf.c
arch/s390/kernel/kexec_image.c
arch/s390/kernel/machine_kexec_file.c
arch/s390/kernel/relocate_kernel.S