Re: [Patch v6.1] x86/kvm: Add AVX512_4VNNIW and AVX512_4FMAPS support

From: kbuild test robot
Date: Mon Nov 14 2016 - 15:25:26 EST


Hi He,

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.9-rc5]
[cannot apply to next-20161114]
[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/He-Chen/x86-kvm-Add-AVX512_4VNNIW-and-AVX512_4FMAPS-support/20161114-170941
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

arch/x86/kvm/cpuid.c: In function '__do_cpuid_ent':
>> arch/x86/kvm/cpuid.c:472:18: error: implicit declaration of function 'get_scattered_cpuid_leaf' [-Werror=implicit-function-declaration]
entry->edx &= get_scattered_cpuid_leaf(7, 0, CPUID_EDX);
^~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kvm/cpuid.c:472:49: error: 'CPUID_EDX' undeclared (first use in this function)
entry->edx &= get_scattered_cpuid_leaf(7, 0, CPUID_EDX);
^~~~~~~~~
arch/x86/kvm/cpuid.c:472:49: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors

vim +/get_scattered_cpuid_leaf +472 arch/x86/kvm/cpuid.c

466 entry->ecx &= kvm_cpuid_7_0_ecx_x86_features;
467 cpuid_mask(&entry->ecx, CPUID_7_ECX);
468 /* PKU is not yet implemented for shadow paging. */
469 if (!tdp_enabled)
470 entry->ecx &= ~F(PKU);
471 entry->edx &= kvm_cpuid_7_0_edx_x86_features;
> 472 entry->edx &= get_scattered_cpuid_leaf(7, 0, CPUID_EDX);
473 } else {
474 entry->ebx = 0;
475 entry->ecx = 0;

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

Attachment: .config.gz
Description: application/gzip