public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [atishp04:kvm_pmu 4/4] arch/riscv/include/asm/kvm_host.h:19:10: fatal error: 'asm/kvm_vcpu_pmu.h' file not found
@ 2022-06-06  2:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-06  2:41 UTC (permalink / raw)
  To: Atish Patra; +Cc: llvm, kbuild-all, Atish Patra, linux-kernel

tree:   https://github.com/atishp04/linux kvm_pmu
head:   9df21c8955e9552aae9109be01c0f910e4023667
commit: 9df21c8955e9552aae9109be01c0f910e4023667 [4/4] RISC-V: KVM: Add skeleton support
config: riscv-buildonly-randconfig-r009-20220605 (https://download.01.org/0day-ci/archive/20220606/202206061019.MqcefJj0-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b92436efcb7813fc481b30f2593a4907568d917a)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # 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=clang 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' file not found
   #include <asm/kvm_vcpu_pmu.h>
            ^~~~~~~~~~~~~~~~~~~~
   1 error generated.
   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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-06  2:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-06  2:41 [atishp04:kvm_pmu 4/4] arch/riscv/include/asm/kvm_host.h:19:10: fatal error: 'asm/kvm_vcpu_pmu.h' file not found kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox