Re: [PATCH 3/3] x86/apic: Clean up the apic delivery mode macro definition

From: kbuild test robot
Date: Sat Jul 23 2016 - 19:07:46 EST


Hi,

[auto build test ERROR on iommu/next]
[also build test ERROR on v4.7-rc7 next-20160722]
[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/Baoquan-He/Enable-legacy-irq-mode-before-jump-to-kexec-kdump-kernel/20160724-054857
base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: i386-randconfig-i0-201630 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/kvm/lapic.c: In function '__apic_accept_irq':
>> arch/x86/kvm/lapic.c:963:7: error: 'APIC_DM_EXTINT' undeclared (first use in this function)
case APIC_DM_EXTINT:
^
arch/x86/kvm/lapic.c:963:7: note: each undeclared identifier is reported only once for each function it appears in

vim +/APIC_DM_EXTINT +963 arch/x86/kvm/lapic.c

66450a21f arch/x86/kvm/lapic.c Jan Kiszka 2013-03-13 957 smp_wmb();
66450a21f arch/x86/kvm/lapic.c Jan Kiszka 2013-03-13 958 set_bit(KVM_APIC_SIPI, &apic->pending_events);
3842d135f arch/x86/kvm/lapic.c Avi Kivity 2010-07-27 959 kvm_make_request(KVM_REQ_EVENT, vcpu);
d76901750 arch/x86/kvm/lapic.c Marcelo Tosatti 2008-09-08 960 kvm_vcpu_kick(vcpu);
97222cc83 drivers/kvm/lapic.c Eddie Dong 2007-09-12 961 break;
97222cc83 drivers/kvm/lapic.c Eddie Dong 2007-09-12 962
23930f952 arch/x86/kvm/lapic.c Jan Kiszka 2008-09-26 @963 case APIC_DM_EXTINT:
23930f952 arch/x86/kvm/lapic.c Jan Kiszka 2008-09-26 964 /*
23930f952 arch/x86/kvm/lapic.c Jan Kiszka 2008-09-26 965 * Should only be called by kvm_apic_local_deliver() with LVT0,
23930f952 arch/x86/kvm/lapic.c Jan Kiszka 2008-09-26 966 * before NMI watchdog was enabled. Already handled by

:::::: The code at line 963 was first introduced by commit
:::::: 23930f9521c9c4d4aa96cdb9d1e1703f3782bb94 KVM: x86: Enable NMI Watchdog via in-kernel PIT source

:::::: TO: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
:::::: CC: Avi Kivity <avi@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data