[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202312131930.gMiphjju-lkp@intel.com>
Date: Wed, 13 Dec 2023 19:32:49 +0800
From: kernel test robot <lkp@...el.com>
To: Alexander Graf <graf@...zon.com>, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, linux-trace-kernel@...r.kernel.org,
linux-mm@...ck.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, kexec@...ts.infradead.org,
linux-doc@...r.kernel.org, x86@...nel.org,
Eric Biederman <ebiederm@...ssion.com>,
"H. Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Steven Rostedt <rostedt@...dmis.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Mark Rutland <mark.rutland@....com>,
Tom Lendacky <thomas.lendacky@....com>,
Ashish Kalra <ashish.kalra@....com>,
James Gowans <jgowans@...zon.com>,
Stanislav Kinsburskii <skinsburskii@...ux.microsoft.com>,
arnd@...db.de, pbonzini@...hat.com, madvenka@...ux.microsoft.com,
Anthony Yznaga <anthony.yznaga@...cle.com>,
Usama Arif <usama.arif@...edance.com>,
David Woodhouse <dwmw@...zon.co.uk>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: Re: [PATCH 02/15] memblock: Declare scratch memory as CMA
Hi Alexander,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tip/x86/core]
[also build test WARNING on arm64/for-next/core akpm-mm/mm-everything linus/master v6.7-rc5 next-20231213]
[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/Alexander-Graf/mm-memblock-Add-support-for-scratch-memory/20231213-080941
base: tip/x86/core
patch link: https://lore.kernel.org/r/20231213000452.88295-3-graf%40amazon.com
patch subject: [PATCH 02/15] memblock: Declare scratch memory as CMA
config: arc-allnoconfig (https://download.01.org/0day-ci/archive/20231213/202312131930.gMiphjju-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231213/202312131930.gMiphjju-lkp@intel.com/reproduce)
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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312131930.gMiphjju-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> mm/memblock.c:2153:13: warning: 'reserve_scratch_mem' defined but not used [-Wunused-function]
2153 | static void reserve_scratch_mem(phys_addr_t start, phys_addr_t end)
| ^~~~~~~~~~~~~~~~~~~
vim +/reserve_scratch_mem +2153 mm/memblock.c
2152
> 2153 static void reserve_scratch_mem(phys_addr_t start, phys_addr_t end)
2154 {
2155 #ifdef CONFIG_MEMBLOCK_SCRATCH
2156 ulong start_pfn = pageblock_start_pfn(PFN_DOWN(start));
2157 ulong end_pfn = pageblock_align(PFN_UP(end));
2158 ulong pfn;
2159
2160 for (pfn = start_pfn; pfn < end_pfn; pfn += pageblock_nr_pages) {
2161 /* Mark as CMA to prevent kernel allocations in it */
2162 set_pageblock_migratetype(pfn_to_page(pfn), MIGRATE_CMA);
2163 }
2164 #endif
2165 }
2166
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists