Re: [RFC PATCH v1 1/2] xen/apic: Use vAPIC for IPI if the hardware supports it.

From: kbuild test robot
Date: Wed Oct 07 2015 - 16:34:29 EST


Hi Konrad,

[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: x86_64-randconfig-x016-201540 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

arch/x86/xen/smp.c: In function 'xen_use_vapic':
>> arch/x86/xen/smp.c:800:14: error: 'XEN_HVM_CPUID_X2APIC_VIRT' undeclared (first use in this function)
if (((eax & XEN_HVM_CPUID_X2APIC_VIRT) && x2apic_mode) ||
^
arch/x86/xen/smp.c:800:14: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/xen/smp.c:801:14: error: 'XEN_HVM_CPUID_APIC_ACCESS_VIRT' undeclared (first use in this function)
((eax & XEN_HVM_CPUID_APIC_ACCESS_VIRT) && cpu_has_apic))
^

vim +/XEN_HVM_CPUID_X2APIC_VIRT +800 arch/x86/xen/smp.c

794 }
795
796 static bool __init xen_use_vapic(void)
797 {
798 uint32_t eax = cpuid_eax(xen_cpuid_base() + 4);
799
> 800 if (((eax & XEN_HVM_CPUID_X2APIC_VIRT) && x2apic_mode) ||
> 801 ((eax & XEN_HVM_CPUID_APIC_ACCESS_VIRT) && cpu_has_apic))
802 return true;
803
804 return false;

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

Attachment: .config.gz
Description: Binary data