From: kernel test robot <lkp@intel.com>
To: Atish Patra <atishp@rivosinc.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Atish Patra <Atish.Patra@wdc.com>,
linux-kernel@vger.kernel.org
Subject: [atishp04:kvm_pmu 4/4] arch/riscv/include/asm/kvm_host.h:19:10: fatal error: 'asm/kvm_vcpu_pmu.h' file not found
Date: Mon, 6 Jun 2022 10:41:29 +0800 [thread overview]
Message-ID: <202206061019.MqcefJj0-lkp@intel.com> (raw)
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
reply other threads:[~2022-06-06 2:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202206061019.MqcefJj0-lkp@intel.com \
--to=lkp@intel.com \
--cc=Atish.Patra@wdc.com \
--cc=atishp@rivosinc.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox