s390/kexec: fix memory leak of ipl report buffer
Bugzilla: https://bugzilla.redhat.com/2017023
Upstream: Linus's tree
4aa9340584e3 s390/kexec: fix memory leak of ipl report buffer 20c76e242e70 s390/kexec: fix return code handling
Conflicts: context diff due to the missing commit 277c8389386e ("s390/kexec_file: move kernel image size check") which depends on another commit f1d3c5323772("s390/boot: move sclp early buffer from fixed address in asm to C") we don't support or use yet.
This back ports upstream commits to fix memory leak of ipl report buffer.
Signed-off-by: Lichen Liu lichliu@redhat.com
Edited by Lichen Liu