The patch titled Subject: powerpc/kexec: enable kexec_file_load() syscall has been removed from the -mm tree. Its filename was powerpc-kexec-enable-kexec_file_load-syscall.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Thiago Jung Bauermann <bauerman@xxxxxxxxxxxxxxxxxx> Subject: powerpc/kexec: enable kexec_file_load() syscall Define the Kconfig symbol so that the kexec_file_load() code can be built, and wire up the syscall so that it can be called. Link: http://lkml.kernel.org/r/1480423554-6411-8-git-send-email-mpe@xxxxxxxxxxxxxx Signed-off-by: Thiago Jung Bauermann <bauerman@xxxxxxxxxxxxxxxxxx> Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Cc: Josh Sklar <sklar@xxxxxxxxxxxxxxxxxx> Cc: Balbir Singh <bsingharora@xxxxxxxxx> Cc: Eric Biederman <ebiederm@xxxxxxxxxxxx> Cc: Dave Young <dyoung@xxxxxxxxxx> Cc: Vivek Goyal <vgoyal@xxxxxxxxxx> Cc: Baoquan He <bhe@xxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Stewart Smith <stewart@xxxxxxxxxxxxxxxxxx> Cc: Mimi Zohar <zohar@xxxxxxxxxxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/powerpc/Kconfig | 13 +++++++++++++ arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 4 files changed, 16 insertions(+), 1 deletion(-) diff -puN arch/powerpc/Kconfig~powerpc-kexec-enable-kexec_file_load-syscall arch/powerpc/Kconfig --- a/arch/powerpc/Kconfig~powerpc-kexec-enable-kexec_file_load-syscall +++ a/arch/powerpc/Kconfig @@ -466,6 +466,19 @@ config KEXEC interface is strongly in flux, so no good recommendation can be made. +config KEXEC_FILE + bool "kexec file based system call" + select KEXEC_CORE + select BUILD_BIN2C + depends on PPC64 + depends on CRYPTO=y + depends on CRYPTO_SHA256=y + help + This is a new version of the kexec system call. This call is + file based and takes in file descriptors as system call arguments + for kernel and initramfs as opposed to a list of segments as is the + case for the older kexec call. + config RELOCATABLE bool "Build a relocatable kernel" depends on (PPC64 && !COMPILE_TEST) || (FLATMEM && (44x || FSL_BOOKE)) diff -puN arch/powerpc/include/asm/systbl.h~powerpc-kexec-enable-kexec_file_load-syscall arch/powerpc/include/asm/systbl.h --- a/arch/powerpc/include/asm/systbl.h~powerpc-kexec-enable-kexec_file_load-syscall +++ a/arch/powerpc/include/asm/systbl.h @@ -386,3 +386,4 @@ SYSCALL(mlock2) SYSCALL(copy_file_range) COMPAT_SYS_SPU(preadv2) COMPAT_SYS_SPU(pwritev2) +SYSCALL(kexec_file_load) diff -puN arch/powerpc/include/asm/unistd.h~powerpc-kexec-enable-kexec_file_load-syscall arch/powerpc/include/asm/unistd.h --- a/arch/powerpc/include/asm/unistd.h~powerpc-kexec-enable-kexec_file_load-syscall +++ a/arch/powerpc/include/asm/unistd.h @@ -12,7 +12,7 @@ #include <uapi/asm/unistd.h> -#define NR_syscalls 382 +#define NR_syscalls 383 #define __NR__exit __NR_exit diff -puN arch/powerpc/include/uapi/asm/unistd.h~powerpc-kexec-enable-kexec_file_load-syscall arch/powerpc/include/uapi/asm/unistd.h --- a/arch/powerpc/include/uapi/asm/unistd.h~powerpc-kexec-enable-kexec_file_load-syscall +++ a/arch/powerpc/include/uapi/asm/unistd.h @@ -392,5 +392,6 @@ #define __NR_copy_file_range 379 #define __NR_preadv2 380 #define __NR_pwritev2 381 +#define __NR_kexec_file_load 382 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ _ Patches currently in -mm which might be from bauerman@xxxxxxxxxxxxxxxxxx are powerpc-enable-config_kexec_file-in-powerpc-server-defconfigs.patch powerpc-ima-get-the-kexec-buffer-passed-by-the-previous-kernel.patch powerpc-ima-send-the-kexec-buffer-to-the-next-kernel.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html