From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH v8 2/5] crash: Exclude crash kernel memory in crash core
Date: Fri, 6 Mar 2026 04:08:39 +0800 [thread overview]
Message-ID: <202603060454.MeuKcrhO-lkp@intel.com> (raw)
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260302035315.3892241-3-ruanjinjie@huawei.com>
References: <20260302035315.3892241-3-ruanjinjie@huawei.com>
TO: Jinjie Ruan <ruanjinjie@huawei.com>
TO: corbet@lwn.net
TO: skhan@linuxfoundation.org
TO: catalin.marinas@arm.com
TO: will@kernel.org
TO: chenhuacai@kernel.org
TO: kernel@xen0n.name
TO: maddy@linux.ibm.com
TO: mpe@ellerman.id.au
TO: npiggin@gmail.com
TO: chleroy@kernel.org
TO: pjw@kernel.org
TO: palmer@dabbelt.com
TO: aou@eecs.berkeley.edu
TO: alex@ghiti.fr
TO: tglx@kernel.org
TO: mingo@redhat.com
TO: bp@alien8.de
TO: dave.hansen@linux.intel.com
TO: hpa@zytor.com
TO: robh@kernel.org
TO: saravanak@kernel.org
TO: akpm@linux-foundation.org
TO: bhe@redhat.com
TO: vgoyal@redhat.com
TO: dyoung@redhat.com
TO: rdunlap@infradead.org
TO: pmladek@suse.com
TO: dapeng1.mi@linux.intel.com
TO: kees@kernel.org
TO: paulmck@kernel.org
Hi Jinjie,
kernel test robot noticed the following build warnings:
[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on robh/for-next linus/master v7.0-rc2 next-20260305]
[cannot apply to powerpc/next powerpc/fixes]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jinjie-Ruan/powerpc-crash-sort-crash-memory-ranges-before-preparing-elfcorehdr/20260302-115646
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
patch link: https://lore.kernel.org/r/20260302035315.3892241-3-ruanjinjie%40huawei.com
patch subject: [PATCH v8 2/5] crash: Exclude crash kernel memory in crash core
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: i386-randconfig-141-20260305 (https://download.01.org/0day-ci/archive/20260306/202603060454.MeuKcrhO-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
smatch: v0.5.0-9004-gb810ac53
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202603060454.MeuKcrhO-lkp@intel.com/
smatch warnings:
kernel/crash_core.c:305 crash_exclude_core_ranges() warn: we never enter this loop
vim +305 kernel/crash_core.c
747ee16995b671 Jinjie Ruan 2026-03-02 289
747ee16995b671 Jinjie Ruan 2026-03-02 290 static int crash_exclude_core_ranges(struct crash_mem *cmem)
747ee16995b671 Jinjie Ruan 2026-03-02 291 {
747ee16995b671 Jinjie Ruan 2026-03-02 292 int ret, i;
747ee16995b671 Jinjie Ruan 2026-03-02 293
747ee16995b671 Jinjie Ruan 2026-03-02 294 /* Exclude crashkernel region */
747ee16995b671 Jinjie Ruan 2026-03-02 295 ret = crash_exclude_mem_range(cmem, crashk_res.start, crashk_res.end);
747ee16995b671 Jinjie Ruan 2026-03-02 296 if (ret)
747ee16995b671 Jinjie Ruan 2026-03-02 297 return ret;
747ee16995b671 Jinjie Ruan 2026-03-02 298
747ee16995b671 Jinjie Ruan 2026-03-02 299 if (crashk_low_res.end) {
747ee16995b671 Jinjie Ruan 2026-03-02 300 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, crashk_low_res.end);
747ee16995b671 Jinjie Ruan 2026-03-02 301 if (ret)
747ee16995b671 Jinjie Ruan 2026-03-02 302 return ret;
747ee16995b671 Jinjie Ruan 2026-03-02 303 }
747ee16995b671 Jinjie Ruan 2026-03-02 304
747ee16995b671 Jinjie Ruan 2026-03-02 @305 for (i = 0; i < crashk_cma_cnt; ++i) {
747ee16995b671 Jinjie Ruan 2026-03-02 306 ret = crash_exclude_mem_range(cmem, crashk_cma_ranges[i].start,
747ee16995b671 Jinjie Ruan 2026-03-02 307 crashk_cma_ranges[i].end);
747ee16995b671 Jinjie Ruan 2026-03-02 308 if (ret)
747ee16995b671 Jinjie Ruan 2026-03-02 309 return ret;
747ee16995b671 Jinjie Ruan 2026-03-02 310 }
747ee16995b671 Jinjie Ruan 2026-03-02 311
747ee16995b671 Jinjie Ruan 2026-03-02 312 return 0;
747ee16995b671 Jinjie Ruan 2026-03-02 313 }
747ee16995b671 Jinjie Ruan 2026-03-02 314
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-03-05 20:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 20:08 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-03-02 3:53 [PATCH v8 0/5] arm64/riscv: Add support for crashkernel CMA reservation Jinjie Ruan
2026-03-02 3:53 ` [PATCH v8 2/5] crash: Exclude crash kernel memory in crash core Jinjie Ruan
2026-03-02 3:53 ` Jinjie Ruan
2026-03-02 5:53 ` Sourabh Jain
2026-03-02 5:53 ` Sourabh Jain
2026-03-23 9:12 ` Jinjie Ruan
2026-03-23 9:12 ` Jinjie Ruan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202603060454.MeuKcrhO-lkp@intel.com \
--to=lkp@intel.com \
--cc=error27@gmail.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.