tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git master head: 37f66bbef0920429b8cb5eddba849ec4308a9f8e commit: 0f990222108d214a0924d920e6095b58107d7b59 [17/31] KVM: Check the allocation of pv cpu mask config: x86_64-randconfig-r033-20200913 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project d6fadc49e3d7eb0977bca3ff92bf156bd059fcd4) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu git checkout 0f990222108d214a0924d920e6095b58107d7b59 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> arch/x86/kernel/kvm.c:802:35: error: use of undeclared identifier 'kvm_send_ipi_mask_allbutself' apic->send_IPI_mask_allbutself = kvm_send_ipi_mask_allbutself; ^ 1 error generated. # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=0f990222108d214a0924d920e6095b58107d7b59 git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git git fetch --no-tags kvm master git checkout 0f990222108d214a0924d920e6095b58107d7b59 vim +/kvm_send_ipi_mask_allbutself +802 arch/x86/kernel/kvm.c 792 793 if (alloc) 794 for_each_possible_cpu(cpu) { 795 if (!zalloc_cpumask_var_node( 796 per_cpu_ptr(&__pv_cpu_mask, cpu), 797 GFP_KERNEL, cpu_to_node(cpu))) { 798 goto zalloc_cpumask_fail; 799 } 800 } 801 > 802 apic->send_IPI_mask_allbutself = kvm_send_ipi_mask_allbutself; 803 pv_ops.mmu.flush_tlb_others = kvm_flush_tlb_others; 804 return 0; 805 806 zalloc_cpumask_fail: 807 kvm_free_pv_cpu_mask(); 808 return -ENOMEM; 809 } 810 arch_initcall(kvm_alloc_cpumask); 811 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip