[tip:perf/core 22/22] include/linux/kvm_types.h:9:10: fatal error: 'asm/kvm_types.h' file not found
From: kernel test robot
Date: Thu Dec 18 2025 - 06:29:07 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
head: 23faa33d88df6d126cebd3121ea2cff3586e7b95
commit: 23faa33d88df6d126cebd3121ea2cff3586e7b95 [22/22] perf: Use EXPORT_SYMBOL_FOR_KVM() for the mediated APIs
config: arm-orion5x_defconfig (https://download.01.org/0day-ci/archive/20251218/202512181927.qiodzgD6-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1335a05ab8bc8339ce24be3a9da89d8c3f4e0571)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251218/202512181927.qiodzgD6-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512181927.qiodzgD6-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from kernel/events/core.c:60:
>> include/linux/kvm_types.h:9:10: fatal error: 'asm/kvm_types.h' file not found
9 | #include <asm/kvm_types.h>
| ^~~~~~~~~~~~~~~~~
1 error generated.
vim +9 include/linux/kvm_types.h
d77a39d982431e drivers/kvm/types.h Hollis Blanchard 2007-12-03 5
20c48920583675 include/linux/kvm_types.h Sean Christopherson 2025-09-18 6 #include <linux/bits.h>
20c48920583675 include/linux/kvm_types.h Sean Christopherson 2025-09-18 7 #include <linux/export.h>
20c48920583675 include/linux/kvm_types.h Sean Christopherson 2025-09-18 8 #include <linux/types.h>
20c48920583675 include/linux/kvm_types.h Sean Christopherson 2025-09-18 @9 #include <asm/kvm_types.h>
20c48920583675 include/linux/kvm_types.h Sean Christopherson 2025-09-18 10
:::::: The code at line 9 was first introduced by commit
:::::: 20c48920583675e67b3824f147726e0fbda735ce KVM: Export KVM-internal symbols for sub-modules only
:::::: TO: Sean Christopherson <seanjc@xxxxxxxxxx>
:::::: CC: Paolo Bonzini <pbonzini@xxxxxxxxxx>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki