Hi Kirill, Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/auto-latest] [also build test WARNING 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-x019-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 warnings (new ones prefixed by >>): In file included from include/linux/kernel.h:10:0, from include/linux/list.h:9, from include/linux/preempt.h:11, from include/linux/spinlock.h:51, from include/linux/mmzone.h:8, from include/linux/bootmem.h:8, from arch/x86/kernel/cpu/common.c:1: 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) ^ include/linux/compiler.h:58:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> arch/x86/kernel/cpu/common.c:1009:2: note: in expansion of macro 'if' if (!__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 if (!__pgtable_l5_enabled) ^ include/linux/compiler.h:58:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> arch/x86/kernel/cpu/common.c:1009:2: note: in expansion of macro 'if' if (!__pgtable_l5_enabled) ^~ vim +/if +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
.config.gz
Description: application/gzip

