diff options
author | Philipp Rudo <prudo@linux.vnet.ibm.com> | 2017-09-05 11:55:23 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-04-16 09:10:22 +0200 |
commit | ee337f5469fd67f22d231e520ec4189ce0589d92 (patch) | |
tree | 7b2d0e72573aaca14b54520ffa2c59fbcfaac81a /arch/s390/purgatory/purgatory.c | |
parent | s390/kexec_file: Add image loader (diff) | |
download | linux-ee337f5469fd67f22d231e520ec4189ce0589d92.tar.xz linux-ee337f5469fd67f22d231e520ec4189ce0589d92.zip |
s390/kexec_file: Add crash support to image loader
Add support to load a crash kernel to the image loader. This requires
extending the purgatory.
Signed-off-by: Philipp Rudo <prudo@linux.vnet.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/purgatory/purgatory.c')
-rw-r--r-- | arch/s390/purgatory/purgatory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/purgatory/purgatory.c b/arch/s390/purgatory/purgatory.c index 52b92f2bf0b9..4e2beb3c29b7 100644 --- a/arch/s390/purgatory/purgatory.c +++ b/arch/s390/purgatory/purgatory.c @@ -16,6 +16,10 @@ struct kexec_sha_region purgatory_sha_regions[KEXEC_SEGMENT_MAX]; u8 purgatory_sha256_digest[SHA256_DIGEST_SIZE]; u64 kernel_entry; +u64 kernel_type; + +u64 crash_start; +u64 crash_size; int verify_sha256_digest(void) { |