On 02/09/24 at 11:18am, Stanislav Fomichev wrote: > On 02/09, Hari Bathini wrote: > > With [1], CONFIG_KEXEC & !CONFIG_CRASH_DUMP is supported but that led > > to the below warning: > > > > "WARN: resolve_btfids: unresolved symbol crash_kexec" > > > > Fix it by using the appropriate #ifdef. > > Same question here: how did you find this particular kconfig option > (CONFIG_CRASH_DUMP) to use? Looking at the code, crash_kexec is defined > in kernel/kexec_core.c and it's gated by CONFIG_KEXEC_CORE. So the > existing ifdef seems correct? This patch is based on the latest next tree, I have made some changes to split the crash code from kexec_core.c. If you check next/master branch, crash_kexec is not in kernel/keec_core.c any more.