Re: [PATCH] kexec_file: Drop weak attribute from arch_kexec_apply_relocations[_add]

2022-05-20 Thread Eric W. Biederman
Baoquan He writes: > On 05/19/22 at 12:59pm, Eric W. Biederman wrote: >> Baoquan He writes: >> >> > Hi Eric, >> > >> > On 05/18/22 at 04:59pm, Eric W. Biederman wrote: >> >> "Naveen N. Rao" writes: >> >> >> >> > Since commit d1bcae833b32f1 ("ELF: Don't generate unused section >> >> > symbols"

Re: [PATCH v8 0/4] use more system keyrings to verify arm64 and s390 kexec kernel image signature

2022-05-20 Thread Mimi Zohar
Hi Coiby, On Thu, 2022-05-12 at 15:01 +0800, Coiby Xu wrote: The cover letter should start out with an overall problem description and then continue with the specifics. In this case each of the arch's use different keyrings to validate the kexec kernel image signature. I would continue with say

Re: [PATCH v3 -next 1/6] kexec_file: Fix kexec_file.c build error for riscv platform

2022-05-20 Thread Palmer Dabbelt
On Fri, 08 Apr 2022 03:09:09 PDT (-0700), lizheng...@huawei.com wrote: From: Liao Chang When CONFIG_KEXEC_FILE is set for riscv platform, the compilation of kernel/kexec_file.c generate build error: kernel/kexec_file.c: In function 'crash_prepare_elf64_headers': ./arch/riscv/include/asm/page.h

Re: [PATCH v3 -next 0/6] riscv: kexec: add kexec_file_load() support

2022-05-20 Thread Palmer Dabbelt
On Fri, 08 Apr 2022 03:09:08 PDT (-0700), lizheng...@huawei.com wrote: This patchset implement kexec_file_load() support on riscv, Most of the code is based on the kexec-tool-patch repo developed by Nick Kossifids. This patch series enables us to load the riscv vmlinux by specifying its file dec

Re: [PATCH] kexec_file: Drop weak attribute from arch_kexec_apply_relocations[_add]

2022-05-20 Thread Baoquan He
On 05/19/22 at 12:59pm, Eric W. Biederman wrote: > Baoquan He writes: > > > Hi Eric, > > > > On 05/18/22 at 04:59pm, Eric W. Biederman wrote: > >> "Naveen N. Rao" writes: > >> > >> > Since commit d1bcae833b32f1 ("ELF: Don't generate unused section > >> > symbols") [1], binutils (v2.36+) started