tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git nested-svm head: 47fb7f6e83e4517e5b43345c1ee0c738263d933b commit: a82a8fa7038222fd4ca556810c278871aa985a6e [79/95] x86/bus_lock: Handle warn and fatal in #DB for bus lock config: x86_64-allyesconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=a82a8fa7038222fd4ca556810c278871aa985a6e git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git git fetch --no-tags kvm nested-svm git checkout a82a8fa7038222fd4ca556810c278871aa985a6e # save the attached .config to linux build tree make W=1 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/kvm/vmx/vmx.c:5649:12: error: conflicting types for 'handle_bus_lock' 5649 | static int handle_bus_lock(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~ In file included from arch/x86/kvm/vmx/vmx.c:34: arch/x86/include/asm/cpu.h:48:13: note: previous declaration of 'handle_bus_lock' was here 48 | extern bool handle_bus_lock(struct pt_regs *regs); | ^~~~~~~~~~~~~~~ vim +/handle_bus_lock +5649 arch/x86/kvm/vmx/vmx.c e7953d7fab47a7 arch/x86/kvm/vmx.c Abel Gordon 2013-04-18 5648 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 @5649 static int handle_bus_lock(struct kvm_vcpu *vcpu) 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 5650 { 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 5651 vcpu->run->exit_reason = KVM_EXIT_X86_BUS_LOCK; 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 5652 vcpu->run->flags |= KVM_RUN_X86_BUS_LOCK; 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 5653 return 0; 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 5654 } 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 5655 :::::: The code at line 5649 was first introduced by commit :::::: 1b054f0054cf1bcd4979073e285c8ab53c331480 KVM: VMX: Enable bus lock VM exit :::::: TO: Chenyi Qiang <chenyi.qiang@xxxxxxxxx> :::::: CC: Paolo Bonzini <pbonzini@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip