summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.ibm.com>2019-03-18 12:53:47 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-29 10:44:02 +0200
commit99feaa717e558cf4f2ad0faf53acac3cf9cc7438 (patch)
tree485d05ad8c8886bba9f1ecc2e3eac4d196e9a6ad /arch/s390/include
parents390/kexec_file: Signature verification prototype (diff)
downloadlinux-99feaa717e558cf4f2ad0faf53acac3cf9cc7438.tar.xz
linux-99feaa717e558cf4f2ad0faf53acac3cf9cc7438.zip
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/include')
-rw-r--r--arch/s390/include/asm/ipl.h2
-rw-r--r--arch/s390/include/asm/kexec.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ipl.h b/arch/s390/include/asm/ipl.h
index bf62af49af06..420d39ebdc46 100644
--- a/arch/s390/include/asm/ipl.h
+++ b/arch/s390/include/asm/ipl.h
@@ -36,6 +36,8 @@ struct ipl_parameter_block {
#define IPL_MAX_SUPPORTED_VERSION (0)
+#define IPL_RB_CERT_UNKNOWN ((unsigned short)-1)
+
#define DIAG308_VMPARM_SIZE (64)
#define DIAG308_SCPDATA_OFFSET offsetof(struct ipl_parameter_block, \
fcp.scp_data)
diff --git a/arch/s390/include/asm/kexec.h b/arch/s390/include/asm/kexec.h
index 59026899e766..305d3465574f 100644
--- a/arch/s390/include/asm/kexec.h
+++ b/arch/s390/include/asm/kexec.h
@@ -63,6 +63,8 @@ struct s390_load_data {
/* Total size of loaded segments in memory. Used as an offset. */
size_t memsz;
+
+ struct ipl_report *report;
};
int s390_verify_sig(const char *kernel, unsigned long kernel_len);