All of lore.kernel.org
 help / color / mirror / Atom feed
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 v5 2/4] crash: Exclude crash kernel memory in crash core
Date: Fri, 13 Feb 2026 17:10:03 +0800	[thread overview]
Message-ID: <202602131740.rGD89wwq-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20260212101001.343158-3-ruanjinjie@huawei.com>
References: <20260212101001.343158-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: akpm@linux-foundation.org
TO: bhe@redhat.com
TO: vgoyal@redhat.com
TO: dyoung@redhat.com
TO: rdunlap@infradead.org
TO: kees@kernel.org
TO: elver@google.com
TO: paulmck@kernel.org
TO: arnd@arndb.de
TO: ruanjinjie@huawei.com
TO: fvdl@google.com

Hi Jinjie,

kernel test robot noticed the following build warnings:

[auto build test WARNING on powerpc/next]
[also build test WARNING on powerpc/fixes arm64/for-next/core tip/x86/core linus/master v6.19 next-20260212]
[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/20260212-181247
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
patch link:    https://lore.kernel.org/r/20260212101001.343158-3-ruanjinjie%40huawei.com
patch subject: [PATCH v5 2/4] crash: Exclude crash kernel memory in crash core
:::::: branch date: 23 hours ago
:::::: commit date: 23 hours ago
config: powerpc-randconfig-r071-20260213 (https://download.01.org/0day-ci/archive/20260213/202602131740.rGD89wwq-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
smatch version: v0.5.0-8994-gd50c5a4c

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/202602131740.rGD89wwq-lkp@intel.com/

smatch warnings:
kernel/crash_core.c:201 crash_exclude_mem_ranges() warn: we never enter this loop

vim +201 kernel/crash_core.c

02aff848053381 Baoquan He  2024-01-24  189  
6d859d47931b2a Jinjie Ruan 2026-02-12  190  	/* Exclude crashkernel region */
6d859d47931b2a Jinjie Ruan 2026-02-12  191  	ret = arch_crash_exclude_mem_range(&cmem, crashk_res.start, crashk_res.end);
6d859d47931b2a Jinjie Ruan 2026-02-12  192  	if (ret)
6d859d47931b2a Jinjie Ruan 2026-02-12  193  		return ret;
02aff848053381 Baoquan He  2024-01-24  194  
6d859d47931b2a Jinjie Ruan 2026-02-12  195  	if (crashk_low_res.end) {
6d859d47931b2a Jinjie Ruan 2026-02-12  196  		ret = arch_crash_exclude_mem_range(&cmem, crashk_low_res.start, crashk_low_res.end);
6d859d47931b2a Jinjie Ruan 2026-02-12  197  		if (ret)
6d859d47931b2a Jinjie Ruan 2026-02-12  198  			return ret;
6d859d47931b2a Jinjie Ruan 2026-02-12  199  	}
02aff848053381 Baoquan He  2024-01-24  200  
6d859d47931b2a Jinjie Ruan 2026-02-12 @201  	for (i = 0; i < crashk_cma_cnt; ++i) {
6d859d47931b2a Jinjie Ruan 2026-02-12  202  		ret = arch_crash_exclude_mem_range(&cmem, crashk_cma_ranges[i].start,
6d859d47931b2a Jinjie Ruan 2026-02-12  203  						   crashk_cma_ranges[i].end);
6d859d47931b2a Jinjie Ruan 2026-02-12  204  		if (ret)
6d859d47931b2a Jinjie Ruan 2026-02-12  205  			return ret;
6d859d47931b2a Jinjie Ruan 2026-02-12  206  	}
6d859d47931b2a Jinjie Ruan 2026-02-12  207  
6d859d47931b2a Jinjie Ruan 2026-02-12  208  	/* Return the computed number of memory ranges, for hotplug usage */
6d859d47931b2a Jinjie Ruan 2026-02-12  209  	if (nr_mem_ranges)
6d859d47931b2a Jinjie Ruan 2026-02-12  210  		*nr_mem_ranges = cmem->nr_ranges;
6d859d47931b2a Jinjie Ruan 2026-02-12  211  
6d859d47931b2a Jinjie Ruan 2026-02-12  212  	return 0;
6d859d47931b2a Jinjie Ruan 2026-02-12  213  }
6d859d47931b2a Jinjie Ruan 2026-02-12  214  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-02-13  9:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-13  9:10 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-02-12 10:09 [PATCH v5 0/4] arm64/riscv: Add support for crashkernel CMA reservation Jinjie Ruan
2026-02-12 10:09 ` [PATCH v5 2/4] crash: Exclude crash kernel memory in crash core Jinjie Ruan
2026-02-12 10:09   ` Jinjie Ruan
2026-02-12 18:58   ` Mike Rapoport
2026-02-12 18:58     ` Mike Rapoport
2026-02-13  3:02     ` Jinjie Ruan
2026-02-13  3:02       ` 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=202602131740.rGD89wwq-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.