lkml.org 
[lkml]   [2018]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] KVM: x86: expose UMWAIT/UMONITOR/TPAUSE CPU features into VM.
    Hi Jingqi,

    Thank you for the patch! Yet something to improve:

    [auto build test ERROR on kvm/linux-next]
    [also build test ERROR on v4.18-rc4 next-20180709]
    [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/Jingqi-Liu/KVM-x86-expose-a-few-new-features-into-VM/20180710-171958
    base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
    config: x86_64-randconfig-x012-201827 (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=x86_64

    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_WAITPKG' undeclared (first use in this function); did you mean 'X86_FEATURE_MWAITX'?
    #define F(x) bit(X86_FEATURE_##x)
    ^
    >> arch/x86/kvm/cpuid.c:409:17: note: in expansion of macro 'F'
    F(CLDEMOTE) | F(WAITPKG);
    ^
    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:409:17: note: in expansion of macro 'F'
    F(CLDEMOTE) | F(WAITPKG);
    ^

    vim +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@redhat.com>
    :::::: CC: Paolo Bonzini <pbonzini@redhat.com>

    ---
    0-DAY kernel test infrastructure Open Source Technology Center
    https://lists.01.org/pipermail/kbuild-all Intel Corporation
    [unhandled content-type:application/gzip]
    \
     
     \ /
      Last update: 2018-07-10 13:55    [W:5.995 / U:2.848 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site