On Wed, Feb 03, 2021, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue > head: 21f7d796fb43e13f71746be37985da90df27e66e > commit: f84a54c045404f00bd77bf64233dad52149a6361 [75/78] KVM: SVM: Use asm goto to handle unexpected #UD on SVM instructions > config: i386-randconfig-a004-20210202 (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=f84a54c045404f00bd77bf64233dad52149a6361 > git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git > git fetch --no-tags kvm queue > git checkout f84a54c045404f00bd77bf64233dad52149a6361 > # save the attached .config to linux build tree > make W=1 ARCH=i386 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > In file included from include/linux/compiler_types.h:85, > from <command-line>: > arch/x86/kvm/svm/sev.c: In function 'sev_es_vcpu_load': > >> include/linux/compiler-gcc.h:96:38: error: inconsistent operand constraints in an 'asm' > 96 | #define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) > | ^~~ > arch/x86/kvm/svm/svm_ops.h:21:2: note: in expansion of macro 'asm_volatile_goto' > 21 | asm_volatile_goto("1: " __stringify(insn) " %0\n\t" \ > | ^~~~~~~~~~~~~~~~~ > arch/x86/kvm/svm/svm_ops.h:56:2: note: in expansion of macro 'svm_asm1' > 56 | svm_asm1(vmsave, "a" (pa), "memory"); > | ^~~~~~~~ Blech. The address is technically a physical address, but VMSAVE, VMRUN, etc... consume rAX based on the effective address size. Patch incoming...