tree:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git hyper-v
head:   bb564d53ed035865e85f16acf217dee93705e518
commit: 67938046f7991474f94ad85da3f8e43c0cf510c0 [1/3] x86/Hyper-V: Set x2apic 
destination mode to physical when x2apic is available
config: x86_64-randconfig-x014-201908 (attached as .config)
compiler: gcc-8 (Debian 8.2.0-20) 8.2.0
reproduce:
        git checkout 67938046f7991474f94ad85da3f8e43c0cf510c0
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86//kernel/cpu/mshyperv.c: In function 'ms_hyperv_init_platform':
>> arch/x86//kernel/cpu/mshyperv.c:339:3: error: 'x2apic_phys' undeclared 
>> (first use in this function); did you mean 'x2apic_mode'?
      x2apic_phys = 1;
      ^~~~~~~~~~~
      x2apic_mode
   arch/x86//kernel/cpu/mshyperv.c:339:3: note: each undeclared identifier is 
reported only once for each function it appears in

vim +339 arch/x86//kernel/cpu/mshyperv.c

   331  
   332          /*
   333           * Hyper-V doesn't provide irq remapping for IO-APIC. To enable 
x2apic,
   334           * set x2apic destination mode to physcial mode when x2apic is 
available
   335           * and Hyper-V IOMMU driver makes sure cpus assigned with 
IO-APIC irqs
   336           * have 8-bit APIC id.
   337           */
   338          if (IS_ENABLED(CONFIG_X86_X2APIC) && x2apic_supported())
 > 339                  x2apic_phys = 1;
   340  

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to