Re: [PATCH] KVM: SVM: fix trashing of MSR_TSC_AUX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on kvm/linux-next]
[also build test ERROR on v4.7-rc6 next-20160706]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Paolo-Bonzini/KVM-SVM-fix-trashing-of-MSR_TSC_AUX/20160706-214557
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: i386-randconfig-a0-201627 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kvm/svm.c: In function 'svm_vcpu_run':
>> arch/x86/kvm/svm.c:4549:23: error: implicit declaration of function '__getcpu' [-Werror=implicit-function-declaration]
      wrmsrl(MSR_TSC_AUX, __getcpu());
                          ^~~~~~~~
   cc1: some warnings being treated as errors

vim +/__getcpu +4549 arch/x86/kvm/svm.c

  4543	#else
  4544			, "ebx", "ecx", "edx", "esi", "edi"
  4545	#endif
  4546			);
  4547	
  4548		if (static_cpu_has(X86_FEATURE_RDTSCP))
> 4549			wrmsrl(MSR_TSC_AUX, __getcpu());
  4550	#ifdef CONFIG_X86_64
  4551		wrmsrl(MSR_GS_BASE, svm->host.gs_base);
  4552	#else

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux