Re: [PATCH v2 1/2] KVM: X86: Implement PV IPI in linux guest
From: kbuild test robot
Date: Mon Jul 02 2018 - 09:34:24 EST
Hi Wanpeng,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.18-rc3 next-20180702]
[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/Wanpeng-Li/KVM-x86-Add-PV-IPIs-support/20180702-193633
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: x86_64-randconfig-x003-201826 (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
Note: the linux-review/Wanpeng-Li/KVM-x86-Add-PV-IPIs-support/20180702-193633 HEAD 2601a46efa23f54a8f175cd07dae28c88e36a40d builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
arch/x86/kernel/kvm.c: In function 'kvm_apic_init':
>> arch/x86/kernel/kvm.c:714:27: error: 'KVM_FEATURE_PV_SEND_IPI' undeclared (first use in this function); did you mean 'KVM_FEATURE_PV_EOI'?
if (kvm_para_has_feature(KVM_FEATURE_PV_SEND_IPI) &&
^~~~~~~~~~~~~~~~~~~~~~~
KVM_FEATURE_PV_EOI
arch/x86/kernel/kvm.c:714:27: note: each undeclared identifier is reported only once for each function it appears in
vim +714 arch/x86/kernel/kvm.c
710
711 static void __init kvm_apic_init(void)
712 {
713 #if defined(CONFIG_SMP) && defined(CONFIG_X86_64)
> 714 if (kvm_para_has_feature(KVM_FEATURE_PV_SEND_IPI) &&
715 num_possible_cpus() <= 2 * BITS_PER_LONG)
716 kvm_setup_pv_ipi();
717 #endif
718 }
719
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip