From 3f28dc72a23cd7ca58d16514a147ef4b92fca499 Mon Sep 17 00:00:00 2001 From: Philipp Rudo Date: Jul 20 2021 15:27:12 +0000 Subject: kdump.sysconfig.s390: Remove "prot_virt" from kdump kernel cmdline Resolves: bz1979879 Upstream: Fedora Conflict: None commit 914a856c66410099d0e8747e900d097624a3eb60 Author: Philipp Rudo Date: Fri Jul 16 10:34:35 2021 +0200 kdump.sysconfig.s390: Remove "prot_virt" from kdump kernel cmdline "prot_virt" enables the kernel to run Secure Execution virtual machines on s390. These virtual machines are isolated from the hypervisor and thus protected against tampering by a malicious host. Enabling "prot_virt" requires a minimum of ~2.5GB memory which exceeds what is typically reserved for the crashkernel. Thus remove "prot_virt" from the command line for the 2nd kernel to prevent it to run out-of-memory. For more discussions about this, see: https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org/thread/QSRRNV4ALKXUJC2VM3US4Z2NSQRHVMXB/ Signed-off-by: Philipp Rudo Acked-by: Baoquan He Signed-off-by: Philipp Rudo --- diff --git a/kdump.sysconfig.s390x b/kdump.sysconfig.s390x index 439e462..234cfe9 100644 --- a/kdump.sysconfig.s390x +++ b/kdump.sysconfig.s390x @@ -17,7 +17,7 @@ KDUMP_COMMANDLINE="" # This variable lets us remove arguments from the current kdump commandline # as taken from either KDUMP_COMMANDLINE above, or from /proc/cmdline # NOTE: some arguments such as crashkernel will always be removed -KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb vmcp_cma cma hugetlb_cma" +KDUMP_COMMANDLINE_REMOVE="hugepages hugepagesz slub_debug quiet log_buf_len swiotlb vmcp_cma cma hugetlb_cma prot_virt" # This variable lets us append arguments to the current kdump commandline # after processed by KDUMP_COMMANDLINE_REMOVE