From 66ff48ed6837961c2ebdd017195e6837136fdc4a Mon Sep 17 00:00:00 2001 From: Lianbo Jiang Date: Thu, 9 Apr 2020 16:25:03 +0800 Subject: [PATCH] s390x: add kdump sysconfig option to use the kexec_file_load() syscall Currently, kernel has supported the kexec_file_load() syscall on s390x, so I follow this commit: 6a20bd54473e ("kdump-lib: switch to the kexec_file_load() syscall on x86_64 by default") And also enable the kexec_file_load() syscall for kdump on s390x by default. Signed-off-by: Lianbo Jiang Acked-by: Kairui Song --- kdump.sysconfig.s390x | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kdump.sysconfig.s390x b/kdump.sysconfig.s390x index 2a24688..a0e5244 100644 --- a/kdump.sysconfig.s390x +++ b/kdump.sysconfig.s390x @@ -41,3 +41,9 @@ KDUMP_IMG="vmlinuz" #What is the images extension. Relocatable kernels don't have one KDUMP_IMG_EXT="" + +# Using kexec file based syscall by default +# +# Here, the "on" is the only valid value to enable the kexec file load and +# anything else is equal to the "off"(disable). +KDUMP_FILE_LOAD="on"