]> git.baikalelectronics.ru Git - kernel.git/commit
s390/kexec_file: fix initrd location for kdump kernel
authorPhilipp Rudo <prudo@linux.ibm.com>
Tue, 12 May 2020 17:39:56 +0000 (19:39 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 14 May 2020 21:21:37 +0000 (23:21 +0200)
commit1273e9818c046cd905b486ffc1b29e4b115c155a
treee1de840ec88a5bdd8505853e196f4a8cb060ed0c
parent5fde3e0435bb353a43b9bc416cf14c7a96a7d93e
s390/kexec_file: fix initrd location for kdump kernel

initrd_start must not point at the location the initrd is loaded into
the crashkernel memory but at the location it will be after the
crashkernel memory is swapped with the memory at 0.

Fixes: 6db8b3a3894f ("s390/kexec_file: Add crash support to image loader")
Reported-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Tested-by: Lianbo Jiang <lijiang@redhat.com>
Link: https://lore.kernel.org/r/20200512193956.15ae3f23@laptop2-ibm.local
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/machine_kexec_file.c