summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/kexec_elf.c
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.ibm.com>2019-03-18 14:53:47 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-29 11:44:02 +0300
commit99feaa717e558cf4f2ad0faf53acac3cf9cc7438 (patch)
tree485d05ad8c8886bba9f1ecc2e3eac4d196e9a6ad /arch/s390/kernel/kexec_elf.c
parente23a8020ce4e094e10d717d39a8ce799243bf8c1 (diff)
downloadlinux-99feaa717e558cf4f2ad0faf53acac3cf9cc7438.tar.xz
s390/kexec_file: Create ipl report and pass to next kernel
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/kexec_elf.c')
-rw-r--r--arch/s390/kernel/kexec_elf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/kernel/kexec_elf.c b/arch/s390/kernel/kexec_elf.c
index 01e45d89b636..6d0635ceddd0 100644
--- a/arch/s390/kernel/kexec_elf.c
+++ b/arch/s390/kernel/kexec_elf.c
@@ -10,6 +10,7 @@
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/kexec.h>
+#include <asm/ipl.h>
#include <asm/setup.h>
static int kexec_file_add_kernel_elf(struct kimage *image,
@@ -50,6 +51,10 @@ static int kexec_file_add_kernel_elf(struct kimage *image,
data->parm = buf.buffer + PARMAREA;
}
+ ipl_report_add_component(data->report, &buf,
+ IPL_RB_COMPONENT_FLAG_SIGNED |
+ IPL_RB_COMPONENT_FLAG_VERIFIED,
+ IPL_RB_CERT_UNKNOWN);
ret = kexec_add_buffer(&buf);
if (ret)
return ret;