Re: [PATCH 1/1] x86/gart/kcore: Exclude GART aperture from kcore

From: kbuild test robot
Date: Sat Dec 29 2018 - 14:45:41 EST


Hi Kairui,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.20 next-20181224]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Kairui-Song/x86-gart-kcore-Exclude-GART-aperture-from-kcore/20181221-132322
config: x86_64-randconfig-k2-12281339 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

arch/x86/kernel/aperture_64.o: In function `exclude_from_vmcore':
>> arch/x86/kernel/aperture_64.c:81: undefined reference to `register_mem_pfn_is_ram'

vim +81 arch/x86/kernel/aperture_64.c

75
76 static void exclude_from_vmcore(u64 aper_base, u32 aper_order)
77 {
78 aperture_pfn_start = aper_base >> PAGE_SHIFT;
79 aperture_page_count = (32 * 1024 * 1024) << aper_order >> PAGE_SHIFT;
80 WARN_ON(register_oldmem_pfn_is_ram(&gart_mem_pfn_is_ram));
> 81 WARN_ON(register_mem_pfn_is_ram(&gart_mem_pfn_is_ram));
82 }
83 #else
84 static void exclude_from_vmcore(u64 aper_base, u32 aper_order)
85 {
86 }
87 #endif
88

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip