Messages in this thread | | | Date | Thu, 9 Jun 2022 13:14:15 +0800 | From | kernel test robot <> | Subject | [atishp04:kvm_pmu 4/4] arch/riscv/include/asm/kvm_host.h:19:10: fatal error: asm/kvm_vcpu_pmu.h: No such file or directory |
| |
tree: https://github.com/atishp04/linux kvm_pmu head: 9df21c8955e9552aae9109be01c0f910e4023667 commit: 9df21c8955e9552aae9109be01c0f910e4023667 [4/4] RISC-V: KVM: Add skeleton support config: riscv-allnoconfig (https://download.01.org/0day-ci/archive/20220609/202206091219.XaPQOekY-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.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 # https://github.com/atishp04/linux/commit/9df21c8955e9552aae9109be01c0f910e4023667 git remote add atishp04 https://github.com/atishp04/linux git fetch --no-tags atishp04 kvm_pmu git checkout 9df21c8955e9552aae9109be01c0f910e4023667 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv prepare
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/riscv/kernel/asm-offsets.c:12: >> arch/riscv/include/asm/kvm_host.h:19:10: fatal error: asm/kvm_vcpu_pmu.h: No such file or directory 19 | #include <asm/kvm_vcpu_pmu.h> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:121: arch/riscv/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1196: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors.
vim +19 arch/riscv/include/asm/kvm_host.h
11 12 #include <linux/types.h> 13 #include <linux/kvm.h> 14 #include <linux/kvm_types.h> 15 #include <linux/spinlock.h> 16 #include <asm/csr.h> 17 #include <asm/kvm_vcpu_fp.h> 18 #include <asm/kvm_vcpu_timer.h> > 19 #include <asm/kvm_vcpu_pmu.h> 20
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |