arch/mips/kvm/vz.c:32:10: fatal error: loongson_regs.h: No such file or directory

From: kernel test robot
Date: Fri Aug 07 2020 - 20:44:04 EST


Hi Huacai,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 30185b69a2d533c4ba6ca926b8390ce7de495e29
commit: 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333 KVM: MIPS: Add CPUCFG emulation for Loongson-3
date: 9 weeks ago
config: mips-randconfig-r024-20200808 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.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
git checkout 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips

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/mips/kvm/vz.c:32:10: fatal error: loongson_regs.h: No such file or directory
32 | #include "loongson_regs.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.

vim +32 arch/mips/kvm/vz.c

30
31 #include "interrupt.h"
> 32 #include "loongson_regs.h"
33

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip