tree: https://github.com/intel/tdx.git kvm-upstream-workaround head: a55edc8b8e1123273264023e2319ed0d432c904f commit: 73807344db65c68bec4106833ace08bbe641aaf4 [73/373] KVM: Unmap existing mappings when change the memory attributes config: s390-randconfig-r036-20230111 compiler: s390-linux-gcc (GCC) 12.1.0 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 # https://github.com/intel/tdx/commit/73807344db65c68bec4106833ace08bbe641aaf4 git remote add intel-tdx https://github.com/intel/tdx.git git fetch --no-tags intel-tdx kvm-upstream-workaround git checkout 73807344db65c68bec4106833ace08bbe641aaf4 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/s390/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_mmu_invalidate_begin': >> arch/s390/kvm/../../../virt/kvm/kvm_main.c:525:51: error: 'INVALID_GPA' undeclared (first use in this function); did you mean 'INVALID_GID'? 525 | kvm->mmu_invalidate_range_start = INVALID_GPA; | ^~~~~~~~~~~ | INVALID_GID arch/s390/kvm/../../../virt/kvm/kvm_main.c:525:51: note: each undeclared identifier is reported only once for each function it appears in vim +525 arch/s390/kvm/../../../virt/kvm/kvm_main.c 514 515 void kvm_mmu_invalidate_begin(struct kvm *kvm) 516 { 517 /* 518 * The count increase must become visible at unlock time as no 519 * spte can be established without taking the mmu_lock and 520 * count is also read inside the mmu_lock critical section. 521 */ 522 kvm->mmu_invalidate_in_progress++; 523 524 if (likely(kvm->mmu_invalidate_in_progress == 1)) { > 525 kvm->mmu_invalidate_range_start = INVALID_GPA; 526 kvm->mmu_invalidate_range_end = INVALID_GPA; 527 } 528 } 529 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests