]> git.baikalelectronics.ru Git - kernel.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)
commitf996068f9c42aa7320534aada65c2449b3671847
tree666e391e3156330ba0f82d216408aae68bd9e2e6
parent0f68143507334a4d2d0aa101a56ad16880736dde
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