s390/kexec_file: Add ELF loader
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>
Mon, 11 Sep 2017 13:15:29 +0000 (15:15 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Apr 2018 07:10:23 +0000 (09:10 +0200)
commit8be018827154666d1fe5904cb7a43b6706e01c87
tree3fc01c556ba536ef0da3072abc3c3c0db94dda4e
parentee337f5469fd67f22d231e520ec4189ce0589d92
s390/kexec_file: Add ELF loader

Add an ELF loader for kexec_file. The main task here is to do proper sanity
checks on the ELF file. Basically all other functionality was already
implemented for the image loader.

Signed-off-by: Philipp Rudo <prudo@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/kexec.h
arch/s390/kernel/Makefile
arch/s390/kernel/kexec_elf.c [new file with mode: 0644]
arch/s390/kernel/machine_kexec_file.c