From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH] mm: Add a new page type to mark unavailable pages
Date: Tue, 02 Jun 2020 02:41:37 +0800 [thread overview]
Message-ID: <202006020249.nFTczwQj%lkp@intel.com> (raw)
In-Reply-To: <20200601133159.GM26955@MiWiFi-R3L-srv>
[-- Attachment #1: Type: text/plain, Size: 3740 bytes --]
Hi Baoquan,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tip/x86/core]
[also build test ERROR on linus/master v5.7 next-20200529]
[cannot apply to mmotm/master linux/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Baoquan-He/mm-Add-a-new-page-type-to-mark-unavailable-pages/20200601-213615
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 9cb1fd0efd195590b828b9b865421ad345a4a145
config: x86_64-randconfig-r015-20200601 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/x86/kernel/asm-offsets.c:9:
In file included from include/linux/crypto.h:19:
In file included from include/linux/slab.h:15:
In file included from include/linux/gfp.h:6:
>> include/linux/mmzone.h:1322:45: error: expected ';' after return statement
return valid_section(__pfn_to_section(pfn))
^
;
>> include/linux/mmzone.h:1333:24: error: use of undeclared identifier 'ms'
return (early_section(ms) && PageUnavail(pfn_to_page(pfn))) ||
^
>> include/linux/mmzone.h:1333:43: error: use of undeclared identifier 'vmemmap'; did you mean 'mem_map'?
return (early_section(ms) && PageUnavail(pfn_to_page(pfn))) ||
^
include/asm-generic/memory_model.h:82:21: note: expanded from macro 'pfn_to_page'
#define pfn_to_page __pfn_to_page
^
include/asm-generic/memory_model.h:54:29: note: expanded from macro '__pfn_to_page'
#define __pfn_to_page(pfn) (vmemmap + (pfn))
^
include/linux/mmzone.h:648:21: note: 'mem_map' declared here
extern struct page *mem_map;
^
include/linux/mmzone.h:1334:27: error: use of undeclared identifier 'ms'
pfn_section_valid(ms, pfn);
^
4 errors generated.
make[2]: *** [scripts/Makefile.build:100: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1148: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
vim +1322 include/linux/mmzone.h
1316
1317 #ifndef CONFIG_HAVE_ARCH_PFN_VALID
1318 static inline int early_pfn_valid(unsigned long pfn)
1319 {
1320 if (pfn_to_section_nr(pfn) >= NR_MEM_SECTIONS)
1321 return 0;
> 1322 return valid_section(__pfn_to_section(pfn))
1323 }
1324
1325 static inline int pfn_valid(unsigned long pfn)
1326 {
1327 if (!early_pfn_valid(pfn))
1328 return 0;
1329 /*
1330 * Traditionally early sections always returned pfn_valid() for
1331 * the entire section-sized span.
1332 */
> 1333 return (early_section(ms) && PageUnavail(pfn_to_page(pfn))) ||
1334 pfn_section_valid(ms, pfn);
1335 }
1336 #endif
1337
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31974 bytes --]
next prev parent reply other threads:[~2020-06-01 18:41 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-21 1:44 [PATCH] mm/compaction: Fix the incorrect hole in fast_isolate_freepages() Baoquan He
2020-05-21 9:26 ` Mike Rapoport
2020-05-21 15:52 ` Baoquan He
2020-05-21 17:18 ` Mike Rapoport
2020-05-22 7:01 ` Baoquan He
2020-05-22 7:25 ` Baoquan He
2020-05-22 14:20 ` Mike Rapoport
2020-05-26 8:45 ` Baoquan He
2020-05-26 8:55 ` David Hildenbrand
2020-05-26 11:32 ` Mike Rapoport
2020-05-26 11:49 ` David Hildenbrand
2020-05-28 9:07 ` Baoquan He
2020-05-28 9:08 ` David Hildenbrand
2020-05-28 15:15 ` Steve Wahl
2020-06-01 11:42 ` Mike Rapoport
2020-06-01 13:31 ` Baoquan He
2020-06-01 18:41 ` kbuild test robot [this message]
2020-06-01 19:07 ` [RFC PATCH] mm: Add a new page type to mark unavailable pages kbuild test robot
2020-06-03 1:28 ` Baoquan He
2020-05-21 9:36 ` [PATCH] mm/compaction: Fix the incorrect hole in fast_isolate_freepages() Mel Gorman
2020-05-21 13:38 ` Mike Rapoport
2020-05-21 15:41 ` Baoquan He
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=202006020249.nFTczwQj%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.