On Sun, Aug 21, 2022 at 09:24:10AM +0200, Michal Suchánek wrote: > On Sat, Aug 20, 2022 at 08:20:15PM +0200, Greg KH wrote: > > On Fri, Aug 19, 2022 at 04:41:15PM +0200, Greg KH wrote: > > > On Thu, Aug 18, 2022 at 12:09:38PM +0800, Coiby Xu wrote: > > > > Hi Greg, > > > > > > > > This patch depends on three prerequisites. This full list of commit ids > > > > should be backported is shown below, > > > > > > > > 1. 65d9a9a60fd7 ("kexec_file: drop weak attribute from functions") > > > > 2. 689a71493bd2 ("kexec: clean up arch_kexec_kernel_verify_sig") > > > > 3. c903dae8941d ("kexec, KEYS: make the code in bzImage64_verify_sig generic") > > > > 4. 0d519cadf751 ("arm64: kexec_file: use more system keyrings to verify kernel image signature") > > > > > > > > And I can confirm they can be applied to linux-5.15.y branch > > > > successfully, > > > > $ git checkout -b arm_key_5.15.y stable/linux-5.15.y > > > > branch 'arm_key_5.15.y' set up to track 'stable/linux-5.15.y'. > > > > Switched to a new branch 'arm_key_5.15.y' > > > > $ git cherry-pick 65d9a9a60fd7 689a71493bd2 c903dae8941d 0d519cadf751 > > > > Auto-merging arch/arm64/include/asm/kexec.h > > > > Auto-merging arch/powerpc/include/asm/kexec.h > > > > Auto-merging arch/s390/include/asm/kexec.h > > > > Auto-merging arch/x86/include/asm/kexec.h > > > > Auto-merging include/linux/kexec.h > > > > Auto-merging kernel/kexec_file.c > > > > [arm_key_5.15.y 7c7844771360] kexec_file: drop weak attribute from functions > > > > Author: Naveen N. Rao <naveen.n.rao@xxxxxxxxxxxxxxxxxx> > > > > Date: Fri Jul 1 13:04:04 2022 +0530 > > > > 6 files changed, 61 insertions(+), 40 deletions(-) > > > > Auto-merging include/linux/kexec.h > > > > Auto-merging kernel/kexec_file.c > > > > [arm_key_5.15.y 4283e2681d86] kexec: clean up arch_kexec_kernel_verify_sig > > > > Date: Thu Jul 14 21:40:24 2022 +0800 > > > > 2 files changed, 13 insertions(+), 25 deletions(-) > > > > Auto-merging include/linux/kexec.h > > > > Auto-merging kernel/kexec_file.c > > > > [arm_key_5.15.y c0cf50b9056f] kexec, KEYS: make the code in bzImage64_verify_sig generic > > > > Date: Thu Jul 14 21:40:25 2022 +0800 > > > > 3 files changed, 25 insertions(+), 19 deletions(-) > > > > [arm_key_5.15.y 40b98256cb89] arm64: kexec_file: use more system keyrings to verify kernel image signature > > > > Date: Thu Jul 14 21:40:26 2022 +0800 > > > > 1 file changed, 1 insertion(+), 10 deletions(-) > > > > > > thanks, now queued up. > > > > Nope, it causes build breakages in powerpc :( > s390 > > > > See: > > https://lore.kernel.org/r/YwC6eQjx8xC9y3LD@debian > > and > > https://lore.kernel.org/r/CA+G9fYtXnZP2vdAi4eU_ApC_YFz6TqTd6Eh5Mumb2=0Y_dK5Yw@xxxxxxxxxxxxxx > > > > for the reports. I'm dropping these from 5.15.y now, please fix this up > > and resend if you want them included. > > The offending function was removed in 5.16 by > commit 277c8389386e ("s390/kexec_file: move kernel image size check") Great, then someone needs to send me a backported, and tested, set of patches and I will be glad to queue them up. thanks, greg k-h