RE: [PATCH] KVM: Expose new cpu features to guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

My code base is newest kvm.git and my patch is based on commit ID: c128dbfa0f879f8ce7b79054037889b0b2240728,
which has define those variables, Many thanks!

Regards,

Yang 


-----Original Message-----
From: lkp 
Sent: Friday, November 24, 2017 10:36 AM
To: Zhong, Yang <yang.zhong@xxxxxxxxx>
Cc: kbuild-all@xxxxxx; kvm@xxxxxxxxxxxxxxx; pbonzini@xxxxxxxxxx; Zhong, Yang <yang.zhong@xxxxxxxxx>
Subject: Re: [PATCH] KVM: Expose new cpu features to guest

Hi Yang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on v4.14]
[cannot apply to kvm/linux-next next-20171122] [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/Yang-Zhong/KVM-Expose-new-cpu-features-to-guest/20171124-085014
config: i386-randconfig-x001-201747 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   arch/x86/kvm/cpuid.c: In function '__do_cpuid_ent':
>> arch/x86/kvm/cpuid.c:68:18: error: 'X86_FEATURE_AVX512_VBMI2' 
>> undeclared (first use in this function)
    #define F(x) bit(X86_FEATURE_##x)
                     ^
>> arch/x86/kvm/cpuid.c:391:3: note: in expansion of macro 'F'
      F(AVX512_VBMI2) | F(GFNI) | F(VAES) | F(VPCLMULQDQ) |
      ^
   arch/x86/kvm/cpuid.c:68:18: note: each undeclared identifier is reported only once for each function it appears in
    #define F(x) bit(X86_FEATURE_##x)
                     ^
>> arch/x86/kvm/cpuid.c:391:3: note: in expansion of macro 'F'
      F(AVX512_VBMI2) | F(GFNI) | F(VAES) | F(VPCLMULQDQ) |
      ^
>> arch/x86/kvm/cpuid.c:68:18: error: 'X86_FEATURE_GFNI' undeclared 
>> (first use in this function)
    #define F(x) bit(X86_FEATURE_##x)
                     ^
   arch/x86/kvm/cpuid.c:391:21: note: in expansion of macro 'F'
      F(AVX512_VBMI2) | F(GFNI) | F(VAES) | F(VPCLMULQDQ) |
                        ^
>> arch/x86/kvm/cpuid.c:68:18: error: 'X86_FEATURE_VAES' undeclared 
>> (first use in this function)
    #define F(x) bit(X86_FEATURE_##x)
                     ^
   arch/x86/kvm/cpuid.c:391:31: note: in expansion of macro 'F'
      F(AVX512_VBMI2) | F(GFNI) | F(VAES) | F(VPCLMULQDQ) |
                                  ^
>> arch/x86/kvm/cpuid.c:68:18: error: 'X86_FEATURE_VPCLMULQDQ' 
>> undeclared (first use in this function)
    #define F(x) bit(X86_FEATURE_##x)
                     ^
   arch/x86/kvm/cpuid.c:391:41: note: in expansion of macro 'F'
      F(AVX512_VBMI2) | F(GFNI) | F(VAES) | F(VPCLMULQDQ) |
                                            ^
>> arch/x86/kvm/cpuid.c:68:18: error: 'X86_FEATURE_AVX512_VNNI' 
>> undeclared (first use in this function)
    #define F(x) bit(X86_FEATURE_##x)
                     ^
   arch/x86/kvm/cpuid.c:392:3: note: in expansion of macro 'F'
      F(AVX512_VNNI) | F(AVX512_BITALG) | F(AVX512_VPOPCNTDQ);
      ^
>> arch/x86/kvm/cpuid.c:68:18: error: 'X86_FEATURE_AVX512_BITALG' 
>> undeclared (first use in this function)
    #define F(x) bit(X86_FEATURE_##x)
                     ^
   arch/x86/kvm/cpuid.c:392:20: note: in expansion of macro 'F'
      F(AVX512_VNNI) | F(AVX512_BITALG) | F(AVX512_VPOPCNTDQ);
                       ^

vim +/X86_FEATURE_AVX512_VBMI2 +68 arch/x86/kvm/cpuid.c

4ff41732 Paolo Bonzini 2014-02-24  67
5c404cab Paolo Bonzini 2014-12-03 @68  #define F(x) bit(X86_FEATURE_##x) 5c404cab Paolo Bonzini 2014-12-03  69  

:::::: The code at line 68 was first introduced by commit
:::::: 5c404cabd1b5c125653ac573cb9284bdf42b658a KVM: x86: use F() macro throughout cpuid.c

:::::: TO: Paolo Bonzini <pbonzini@xxxxxxxxxx>
:::::: CC: Paolo Bonzini <pbonzini@xxxxxxxxxx>

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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux