* [sean-jc:vmx/invept_on_pcpus 5/5] arch/x86/kvm/vmx/vmx.c:3273:34: error: no member named 'cpu_flushed_mask' in 'struct kvm_mmu_page'
@ 2025-08-06 2:03 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-06 2:03 UTC (permalink / raw)
To: Sean Christopherson; +Cc: llvm, oe-kbuild-all
tree: https://github.com/sean-jc/linux vmx/invept_on_pcpus
head: ca798b2e1de4d0975ee808108c7514fe738f0898
commit: 86ddd2f5b10d582a4cfd94f4a911c9d0dfe7645b [5/5] KVM: VMX: Sketch in possible framework for eliding TLB flushes on pCPU migration
config: x86_64-buildonly-randconfig-005-20250806 (https://download.01.org/0day-ci/archive/20250806/202508060937.Uys2jdqo-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250806/202508060937.Uys2jdqo-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/oe-kbuild-all/202508060937.Uys2jdqo-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/x86/kvm/vmx/vmx.c:3273:34: error: no member named 'cpu_flushed_mask' in 'struct kvm_mmu_page'
3273 | test_and_set_bit(cpu, root->cpu_flushed_mask))
| ~~~~ ^
1 error generated.
--
>> arch/x86/kvm/mmu/mmu.c:3858:3: error: use of undeclared identifier '__SCK__kvm_x86_alloc_root_cpu_mask'
3858 | kvm_x86_call(alloc_root_cpu_mask)(root);
| ^
arch/x86/include/asm/kvm_host.h:1973:28: note: expanded from macro 'kvm_x86_call'
1973 | #define kvm_x86_call(func) static_call(kvm_x86_##func)
| ^
include/linux/static_call_types.h:90:27: note: expanded from macro 'static_call'
90 | #define static_call(name) __static_call(name)
| ^
include/linux/static_call_types.h:57:2: note: expanded from macro '__static_call'
57 | __STATIC_CALL_ADDRESSABLE(name); \
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:43:1: note: expanded from here
43 | __SCK__kvm_x86_alloc_root_cpu_mask
| ^
>> arch/x86/kvm/mmu/mmu.c:3858:3: error: use of undeclared identifier '__SCT__kvm_x86_alloc_root_cpu_mask'
arch/x86/include/asm/kvm_host.h:1973:28: note: expanded from macro 'kvm_x86_call'
1973 | #define kvm_x86_call(func) static_call(kvm_x86_##func)
| ^
include/linux/static_call_types.h:90:27: note: expanded from macro 'static_call'
90 | #define static_call(name) __static_call(name)
| ^
include/linux/static_call_types.h:58:2: note: expanded from macro '__static_call'
58 | __raw_static_call(name); \
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:48:1: note: expanded from here
48 | __SCT__kvm_x86_alloc_root_cpu_mask
| ^
>> arch/x86/kvm/mmu/mmu.c:3858:37: error: use of undeclared identifier 'root'
3858 | kvm_x86_call(alloc_root_cpu_mask)(root);
| ^
3 errors generated.
--
>> arch/x86/kvm/mmu/tdp_mmu.c:296:2: error: use of undeclared identifier '__SCK__kvm_x86_alloc_root_cpu_mask'
296 | kvm_x86_call(alloc_root_cpu_mask)(root);
| ^
arch/x86/include/asm/kvm_host.h:1973:28: note: expanded from macro 'kvm_x86_call'
1973 | #define kvm_x86_call(func) static_call(kvm_x86_##func)
| ^
include/linux/static_call_types.h:90:27: note: expanded from macro 'static_call'
90 | #define static_call(name) __static_call(name)
| ^
include/linux/static_call_types.h:57:2: note: expanded from macro '__static_call'
57 | __STATIC_CALL_ADDRESSABLE(name); \
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:18:1: note: expanded from here
18 | __SCK__kvm_x86_alloc_root_cpu_mask
| ^
>> arch/x86/kvm/mmu/tdp_mmu.c:296:2: error: use of undeclared identifier '__SCT__kvm_x86_alloc_root_cpu_mask'
arch/x86/include/asm/kvm_host.h:1973:28: note: expanded from macro 'kvm_x86_call'
1973 | #define kvm_x86_call(func) static_call(kvm_x86_##func)
| ^
include/linux/static_call_types.h:90:27: note: expanded from macro 'static_call'
90 | #define static_call(name) __static_call(name)
| ^
include/linux/static_call_types.h:58:2: note: expanded from macro '__static_call'
58 | __raw_static_call(name); \
| ^
note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:23:1: note: expanded from here
23 | __SCT__kvm_x86_alloc_root_cpu_mask
| ^
2 errors generated.
vim +3273 arch/x86/kvm/vmx/vmx.c
3263
3264 static void __vmx_flush_ept_on_pcpu_migration(hpa_t root_hpa, int cpu)
3265 {
3266 struct kvm_mmu_page *root;
3267
3268 if (!VALID_PAGE(root_hpa))
3269 return;
3270
3271 root = root_to_sp(root_hpa);
3272 if (!WARN_ON_ONCE(!root) &&
> 3273 test_and_set_bit(cpu, root->cpu_flushed_mask))
3274 return;
3275
3276 vmx_flush_tlb_ept_root(root_hpa);
3277 }
3278
--
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:[~2025-08-06 2:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-06 2:03 [sean-jc:vmx/invept_on_pcpus 5/5] arch/x86/kvm/vmx/vmx.c:3273:34: error: no member named 'cpu_flushed_mask' in 'struct kvm_mmu_page' 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;
as well as URLs for NNTP newsgroup(s).