Re: [PATCH] x86/mm: Introduce 'no5vl kernel parameter

From: kbuild test robot
Date: Wed May 02 2018 - 15:40:11 EST


Hi Kirill,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.17-rc3 next-20180502]
[cannot apply to tip/x86/core]
[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/Kirill-A-Shutemov/x86-mm-Introduce-no5vl-kernel-parameter/20180503-030855
config: i386-randconfig-x014-201817 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/kernel/cpu/common.c: In function 'early_identify_cpu':
>> arch/x86/kernel/cpu/common.c:1009:7: error: '__pgtable_l5_enabled' undeclared (first use in this function); did you mean 'pgtable_l5_enabled'?
if (!__pgtable_l5_enabled)
^~~~~~~~~~~~~~~~~~~~
pgtable_l5_enabled
arch/x86/kernel/cpu/common.c:1009:7: note: each undeclared identifier is reported only once for each function it appears in

vim +1009 arch/x86/kernel/cpu/common.c

1007
1008 /* Clear the 5-level paging feature if user asked for 'no5lvl' */
> 1009 if (!__pgtable_l5_enabled)
1010 setup_clear_cpu_cap(X86_FEATURE_LA57);
1011 }
1012

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

Attachment: .config.gz
Description: application/gzip