Re: [PATCH v2 1/7] kexec: add KEXEC_ELF
flat view
From: Sven Schnelle <hidden>
Date: 2019-07-10 14:30:07
Also in:
kexec
Hi Christophe, On Wed, Jul 10, 2019 at 01:19:13PM +0000, Christophe Leroy wrote:
Hi Sven, On 07/09/2019 07:43 PM, Sven Schnelle wrote:quoted
Right now powerpc provides an implementation to read elf files with the kexec_file() syscall. Make that available as a public kexec interface so it can be re-used on other architectures. Signed-off-by: Sven Schnelle <redacted> --- arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 551 +---------------------------- include/linux/kexec.h | 24 ++ kernel/Makefile | 1 + kernel/kexec_elf.c | 537 ++++++++++++++++++++++++++++ 6 files changed, 576 insertions(+), 541 deletions(-) create mode 100644 kernel/kexec_elf.cWhy are you persisting at not using -C when creating your patch ? Do you want to hide the changes you did while copying arch/powerpc/kernel/kexec_elf_64.c to kernel/kexec_elf.c ? Or you want to make life harder for the reviewers ?
Sorry, never used -C before. I used: git send-email --annotate -v2 -7 --to kexec@lists.infradead.org --cc deller@gmx.de,linuxppc-dev@lists.ozlabs.org -v --format-patch -C -M However, it looks like it only works when started this way: git send-email --format-patch -M -C --annotate -v2 -7 --to kexec@lists.infradead.org --cc deller@gmx.de,linuxppc-dev@lists.ozlabs.org -v I'll resend v2. Best Regards, Sven