* ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
@ 2026-06-16 11:20 kernel test robot
2026-06-16 17:24 ` Yosry Ahmed
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2026-06-16 11:20 UTC (permalink / raw)
To: Yosry Ahmed; +Cc: llvm, oe-kbuild-all, 0day robot
Hi Yosry,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://github.com/intel-lab-lkp/linux/commits/Yosry-Ahmed/KVM-nSVM-Flush-the-TLB-after-forcefully-leaving-nested/20260616-104539
head: 8ffd2ccdf3cac4abc0d2fd686f0ec3c7a453a24a
commit: c431a77735b3877be989d51a32b73ef4e80902ca KVM: VMX: Generalize VPID allocation to be vendor-neutral
date: 9 hours ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-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/202606161302.xMRLP5W1-lkp@intel.com/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "kvm_alloc_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "kvm_destroy_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
>> ERROR: modpost: "kvm_init_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
2026-06-16 11:20 ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined! kernel test robot
@ 2026-06-16 17:24 ` Yosry Ahmed
2026-06-16 17:29 ` Sean Christopherson
0 siblings, 1 reply; 4+ messages in thread
From: Yosry Ahmed @ 2026-06-16 17:24 UTC (permalink / raw)
To: kernel test robot, Sean Christopherson; +Cc: llvm, oe-kbuild-all
On Tue, Jun 16, 2026 at 4:21 AM kernel test robot <lkp@intel.com> wrote:
>
> Hi Yosry,
>
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>
> tree: https://github.com/intel-lab-lkp/linux/commits/Yosry-Ahmed/KVM-nSVM-Flush-the-TLB-after-forcefully-leaving-nested/20260616-104539
> head: 8ffd2ccdf3cac4abc0d2fd686f0ec3c7a453a24a
> commit: c431a77735b3877be989d51a32b73ef4e80902ca KVM: VMX: Generalize VPID allocation to be vendor-neutral
> date: 9 hours ago
> config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-lkp@intel.com/config)
> compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-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/202606161302.xMRLP5W1-lkp@intel.com/
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
> >> ERROR: modpost: "kvm_alloc_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
> >> ERROR: modpost: "kvm_destroy_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
> >> ERROR: modpost: "kvm_init_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
Hmm I used EXPORT_SYMBOL_FOR_KVM_INTERNAL() for all these symbols. Is
this not the right way to do this?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
2026-06-16 17:24 ` Yosry Ahmed
@ 2026-06-16 17:29 ` Sean Christopherson
2026-06-16 17:35 ` Yosry Ahmed
0 siblings, 1 reply; 4+ messages in thread
From: Sean Christopherson @ 2026-06-16 17:29 UTC (permalink / raw)
To: Yosry Ahmed; +Cc: kernel test robot, llvm, oe-kbuild-all
On Tue, Jun 16, 2026, Yosry Ahmed wrote:
> On Tue, Jun 16, 2026 at 4:21 AM kernel test robot <lkp@intel.com> wrote:
> >
> > Hi Yosry,
> >
> > FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
> >
> > tree: https://github.com/intel-lab-lkp/linux/commits/Yosry-Ahmed/KVM-nSVM-Flush-the-TLB-after-forcefully-leaving-nested/20260616-104539
> > head: 8ffd2ccdf3cac4abc0d2fd686f0ec3c7a453a24a
> > commit: c431a77735b3877be989d51a32b73ef4e80902ca KVM: VMX: Generalize VPID allocation to be vendor-neutral
> > date: 9 hours ago
> > config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-lkp@intel.com/config)
> > compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-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/202606161302.xMRLP5W1-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>, old ones prefixed by <<):
> >
> > >> ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
> > >> ERROR: modpost: "kvm_alloc_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
> > >> ERROR: modpost: "kvm_destroy_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
> > >> ERROR: modpost: "kvm_init_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
>
> Hmm I used EXPORT_SYMBOL_FOR_KVM_INTERNAL() for all these symbols. Is
> this not the right way to do this?
You put them inside an CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES #ifdef.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
2026-06-16 17:29 ` Sean Christopherson
@ 2026-06-16 17:35 ` Yosry Ahmed
0 siblings, 0 replies; 4+ messages in thread
From: Yosry Ahmed @ 2026-06-16 17:35 UTC (permalink / raw)
To: Sean Christopherson; +Cc: kernel test robot, llvm, oe-kbuild-all
On Tue, Jun 16, 2026 at 10:29 AM Sean Christopherson <seanjc@google.com> wrote:
>
> On Tue, Jun 16, 2026, Yosry Ahmed wrote:
> > On Tue, Jun 16, 2026 at 4:21 AM kernel test robot <lkp@intel.com> wrote:
> > >
> > > Hi Yosry,
> > >
> > > FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
> > >
> > > tree: https://github.com/intel-lab-lkp/linux/commits/Yosry-Ahmed/KVM-nSVM-Flush-the-TLB-after-forcefully-leaving-nested/20260616-104539
> > > head: 8ffd2ccdf3cac4abc0d2fd686f0ec3c7a453a24a
> > > commit: c431a77735b3877be989d51a32b73ef4e80902ca KVM: VMX: Generalize VPID allocation to be vendor-neutral
> > > date: 9 hours ago
> > > config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-lkp@intel.com/config)
> > > compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606161302.xMRLP5W1-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/202606161302.xMRLP5W1-lkp@intel.com/
> > >
> > > All errors (new ones prefixed by >>, old ones prefixed by <<):
> > >
> > > >> ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
> > > >> ERROR: modpost: "kvm_alloc_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined!
> > > >> ERROR: modpost: "kvm_destroy_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
> > > >> ERROR: modpost: "kvm_init_tlb_tags" [arch/x86/kvm/kvm-intel.ko] undefined!
> >
> > Hmm I used EXPORT_SYMBOL_FOR_KVM_INTERNAL() for all these symbols. Is
> > this not the right way to do this?
>
> You put them inside an CONFIG_KVM_GENERIC_MEMORY_ATTRIBUTES #ifdef.
I guess it's a good thing this email wasn't sent out to the kvm mailing list :')
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-06-16 17:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 11:20 ERROR: modpost: "kvm_free_tlb_tag" [arch/x86/kvm/kvm-intel.ko] undefined! kernel test robot
2026-06-16 17:24 ` Yosry Ahmed
2026-06-16 17:29 ` Sean Christopherson
2026-06-16 17:35 ` Yosry Ahmed
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.