* ./include/linux/kvm_host.h:2569:23: error: 'kvm' undeclared
@ 2026-04-24 12:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-24 12:07 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence bisect report"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Dave Jiang <dave.jiang@intel.com>
CC: 0day robot <lkp@intel.com>
tree: https://github.com/intel-lab-lkp/linux/commits/Dave-Jiang/dax-rate-limit-dev_dax_huge_fault-output/20260424-144914
head: f8b7f4f5432fa1c0c2c4ef2cb58a045a0d731b17
commit: acb8652cb8737cd31c16cf43a52bea1bda3cdf5e kvm: Implement dax support for KVM faulting
date: 5 hours ago
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260424/202604241441.ZAS2AFOa-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260424/202604241441.ZAS2AFOa-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/r/202604241441.ZAS2AFOa-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from ./arch/x86/include/asm/bug.h:193,
from ./arch/x86/include/asm/alternative.h:9,
from ./arch/x86/include/asm/segment.h:6,
from ./arch/x86/include/asm/ptrace.h:5,
from ./arch/x86/include/asm/math_emu.h:5,
from ./arch/x86/include/asm/processor.h:13,
from ./arch/x86/include/asm/timex.h:5,
from ./include/linux/timex.h:67,
from ./include/linux/time32.h:13,
from ./include/linux/time.h:60,
from ./include/linux/stat.h:19,
from ./include/linux/fs_dirent.h:5,
from ./include/linux/fs/super_types.h:5,
from ./include/linux/fs/super.h:5,
from ./include/linux/fs.h:5,
from ./include/linux/dax.h:5,
from mm/filemap.c:15:
./include/linux/kvm_host.h: In function 'kvm_dax_get_pfn':
>> ./include/linux/kvm_host.h:2569:23: error: 'kvm' undeclared (first use in this function)
2569 | KVM_BUG_ON(1, kvm);
| ^~~
./include/asm-generic/bug.h:120:32: note: in definition of macro 'WARN_ON_ONCE'
120 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~
./include/linux/kvm_host.h:2569:9: note: in expansion of macro 'KVM_BUG_ON'
2569 | KVM_BUG_ON(1, kvm);
| ^~~~~~~~~~
./include/linux/kvm_host.h:2569:23: note: each undeclared identifier is reported only once for each function it appears in
2569 | KVM_BUG_ON(1, kvm);
| ^~~
./include/asm-generic/bug.h:120:32: note: in definition of macro 'WARN_ON_ONCE'
120 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~
./include/linux/kvm_host.h:2569:9: note: in expansion of macro 'KVM_BUG_ON'
2569 | KVM_BUG_ON(1, kvm);
| ^~~~~~~~~~
vim +/kvm +2569 ./include/linux/kvm_host.h
5a475554db1e47 Chao Peng 2023-10-27 2550
19a9a1ab5c3dce Fuad Tabba 2025-07-29 2551 #ifdef CONFIG_KVM_GUEST_MEMFD
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2552 int kvm_gmem_get_pfn(struct kvm *kvm, struct kvm_memory_slot *slot,
1fbee5b01a0fd2 Sean Christopherson 2024-10-10 2553 gfn_t gfn, kvm_pfn_t *pfn, struct page **page,
1fbee5b01a0fd2 Sean Christopherson 2024-10-10 2554 int *max_order);
acb8652cb8737c Dave Jiang 2026-04-23 2555 int kvm_dax_get_pfn(struct kvm_memory_slot *slot, pgoff_t index, kvm_pfn_t *pfn,
acb8652cb8737c Dave Jiang 2026-04-23 2556 struct page **refcounted_page);
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2557 #else
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2558 static inline int kvm_gmem_get_pfn(struct kvm *kvm,
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2559 struct kvm_memory_slot *slot, gfn_t gfn,
1fbee5b01a0fd2 Sean Christopherson 2024-10-10 2560 kvm_pfn_t *pfn, struct page **page,
1fbee5b01a0fd2 Sean Christopherson 2024-10-10 2561 int *max_order)
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2562 {
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2563 KVM_BUG_ON(1, kvm);
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2564 return -EIO;
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2565 }
acb8652cb8737c Dave Jiang 2026-04-23 2566 static inline int kvm_dax_get_pfn(struct kvm_memory_slot *slot, gfn_t gfn,
acb8652cb8737c Dave Jiang 2026-04-23 2567 kvm_pfn_t *pfn)
acb8652cb8737c Dave Jiang 2026-04-23 2568 {
acb8652cb8737c Dave Jiang 2026-04-23 @2569 KVM_BUG_ON(1, kvm);
acb8652cb8737c Dave Jiang 2026-04-23 2570 return -EIO;
acb8652cb8737c Dave Jiang 2026-04-23 2571 }
19a9a1ab5c3dce Fuad Tabba 2025-07-29 2572 #endif /* CONFIG_KVM_GUEST_MEMFD */
a7800aa80ea4d5 Sean Christopherson 2023-11-13 2573
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-24 12:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-24 12:07 ./include/linux/kvm_host.h:2569:23: error: 'kvm' undeclared kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.