Re: [PATCH] LoongArch: Fix an issue with relocatable vmlinux

2023-11-25 Thread Huacai Chen
Reviewed-by: Huacai Chen On Fri, Nov 24, 2023 at 4:54 PM WANG Rui wrote: > > Normally vmlinux for LoongArch is of ET_EXEC type, while if built with > CONFIG_RELOCATABLE (this is PIE) and Clang, it will be of ET_DYN type. > Meanwhile, physical address field of segments in vmlinux has actually >

Re: [PATCH v2] LoongArch: Load vmlinux.efi to the link address

2023-11-25 Thread Huacai Chen
Reviewed-by: Huacai Chen On Sat, Nov 25, 2023 at 2:53 PM WANG Rui wrote: > > Currently, kexec loads vmlinux.efi to address 0 instead of the link > address. This causes kexec to fail to boot the new vmlinux.efi on qemu. > > pei_loongarch_load: kernel_segment: >

Re: [PATCH 0/3] kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP

2023-11-25 Thread Eric DeVolder
On 11/23/23 01:36, Baoquan He wrote: Ignat reported a potential config regression was introduced by commit 89cde455915f ("kexec: consolidate kexec and crash options into kernel/Kconfig.kexec"). Please click below link for more details:

Re: [PATCH v2 4/7] kexec_file, arm64: print out debugging message if required

2023-11-25 Thread kernel test robot
Hi Baoquan, kernel test robot noticed the following build errors: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on tip/x86/core powerpc/next powerpc/fixes linus/master v6.7-rc2 next-20231124] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH 0/4] kdump: crashkernel reservation from CMA

2023-11-25 Thread Jiri Bohac
Hi Tao, On Sat, Nov 25, 2023 at 09:51:54AM +0800, Tao Liu wrote: > Thanks for the idea of using CMA as part of memory for the 2nd kernel. > However I have a question: > > What if there is on-going DMA/RDMA access on the CMA range when 1st > kernel crash? There might be data corruption when 2nd