On Mon, 2025-05-12 at 22:57 +0000, Alexander Graf wrote: > > --- a/include/uapi/linux/kexec.h > +++ b/include/uapi/linux/kexec.h > @@ -27,6 +27,7 @@ > #define KEXEC_FILE_ON_CRASH 0x00000002 > #define KEXEC_FILE_NO_INITRAMFS 0x00000004 > #define KEXEC_FILE_DEBUG 0x00000008 > +#define KEXEC_FILE_NO_CMA 0x00000010 >
Gives me EINVAL when I try to use it. This helps (but should it be
permitted only on architectures which implement it?):
--- a/include/linux/kexec.h
+++ b/include/linux/kexec.h
@@ -385,7 +385,7 @@ extern int kexec_load_disabled;
/* List of defined/legal kexec file flags */
#define KEXEC_FILE_FLAGS (KEXEC_FILE_UNLOAD | KEXEC_FILE_ON_CRASH | \
KEXEC_FILE_NO_INITRAMFS | \
- KEXEC_FILE_COOPERATIVE)
+ KEXEC_FILE_COOPERATIVE | KEXEC_FILE_NO_CMA)
/* Location of a reserved region to hold the crash kernel.
*/
smime.p7s
Description: S/MIME cryptographic signature
