All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm:master 17/31] arch/x86/kernel/kvm.c:802:35: error: use of undeclared identifier 'kvm_send_ipi_mask_allbutself'
@ 2020-09-13 17:50 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-13 17:50 UTC (permalink / raw)
  To: Haiwei Li
  Cc: kbuild-all, clang-built-linux, kvm, Robert Hu, Farrah Chen,
	Danmei Wei, Paolo Bonzini

[-- Attachment #1: Type: text/plain, Size: 2253 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31627 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [kvm:master 17/31] arch/x86/kernel/kvm.c:802:35: error: use of undeclared identifier 'kvm_send_ipi_mask_allbutself'
@ 2020-09-13 17:50 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-13 17:50 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2309 bytes --]

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@intel.com>

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31627 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-13 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-13 17:50 [kvm:master 17/31] arch/x86/kernel/kvm.c:802:35: error: use of undeclared identifier 'kvm_send_ipi_mask_allbutself' kernel test robot
2020-09-13 17:50 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.