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

From: kernel test robot
Date: Sat Aug 08 2020 - 07:29:47 EST


Hi Huacai,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e
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