Skip to content

s390/kexec_file: fix R_390_PLT32DBL relocation handling

Bugzilla: https://bugzilla.redhat.com/2023155
Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git
Tested: Verified that kdump works again with patches applied

A recent change introduced with gcc-11.2.1-6.el9.s390x caused gcc to use a
relocation type the dynamic linker for kexec_file_load cannot handle when
relocating the purgatory. This caused an endless loop in the purgatory when
when the kdump kernel is booted.

Signed-off-by: Philipp Rudo prudo@redhat.com

82c93f85 (Philipp Rudo)
s390/kexec: handle R_390_PLT32DBL rela in
arch_kexec_apply_relocations_add()

3b43104c (Philipp Rudo)
s390/kexec_file: fix error handling when applying relocations

e4c8eb32 (Philipp Rudo)
s390/kexec_file: print some more error messages

arch/s390/kernel/machine_kexec_file.c | 38 +++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)

Edited by Philipp Rudo

Merge request reports