public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm:kvm-coco-queue 20/127] ERROR: modpost: "enable_tdx" [arch/x86/kvm/kvm-intel.ko] undefined!
@ 2025-03-02  6:24 kernel test robot
  2025-03-03 12:07 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-03-02  6:24 UTC (permalink / raw)
  To: Isaku Yamahata
  Cc: llvm, oe-kbuild-all, kvm, Farrah Chen, Paolo Bonzini,
	Rick Edgecombe

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-coco-queue
head:   9fe4541afcfad987d39790f0a40527af190bf0dd
commit: a58e01fec9ad144302cd8dfc0b6524315cdb2883 [20/127] KVM: TDX: Add placeholders for TDX VM/vCPU structures
config: x86_64-randconfig-077-20250302 (https://download.01.org/0day-ci/archive/20250302/202503021436.STomlZOE-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250302/202503021436.STomlZOE-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/202503021436.STomlZOE-lkp@intel.com/

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: "enable_tdx" [arch/x86/kvm/kvm-intel.ko] undefined!
ERROR: modpost: "tdx_cleanup" [arch/x86/kvm/kvm-intel.ko] undefined!
ERROR: modpost: "tdx_bringup" [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] 2+ messages in thread

* Re: [kvm:kvm-coco-queue 20/127] ERROR: modpost: "enable_tdx" [arch/x86/kvm/kvm-intel.ko] undefined!
  2025-03-02  6:24 [kvm:kvm-coco-queue 20/127] ERROR: modpost: "enable_tdx" [arch/x86/kvm/kvm-intel.ko] undefined! kernel test robot
@ 2025-03-03 12:07 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2025-03-03 12:07 UTC (permalink / raw)
  To: kernel test robot
  Cc: Isaku Yamahata, llvm, oe-kbuild-all, kvm, Farrah Chen,
	Rick Edgecombe

On Sun, Mar 2, 2025 at 7:25 AM kernel test robot <lkp@intel.com> wrote:
>
> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-coco-queue
> head:   9fe4541afcfad987d39790f0a40527af190bf0dd
> commit: a58e01fec9ad144302cd8dfc0b6524315cdb2883 [20/127] KVM: TDX: Add placeholders for TDX VM/vCPU structures
> config: x86_64-randconfig-077-20250302 (https://download.01.org/0day-ci/archive/20250302/202503021436.STomlZOE-lkp@intel.com/config)
> compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250302/202503021436.STomlZOE-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/202503021436.STomlZOE-lkp@intel.com/
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "enable_tdx" [arch/x86/kvm/kvm-intel.ko] undefined!
> ERROR: modpost: "tdx_cleanup" [arch/x86/kvm/kvm-intel.ko] undefined!
> ERROR: modpost: "tdx_bringup" [arch/x86/kvm/kvm-intel.ko] undefined!

All these failures are solved the same way, just

diff --git a/arch/x86/kvm/vmx/tdx.h b/arch/x86/kvm/vmx/tdx.h
index fc013c8816f1..e8a3657d716e 100644
--- a/arch/x86/kvm/vmx/tdx.h
+++ b/arch/x86/kvm/vmx/tdx.h
@@ -2,7 +2,7 @@
 #ifndef __KVM_X86_VMX_TDX_H
 #define __KVM_X86_VMX_TDX_H

-#ifdef CONFIG_INTEL_TDX_HOST
+#ifdef CONFIG_KVM_INTEL_TDX
 int tdx_bringup(void);
 void tdx_cleanup(void);

Will apply to kvm-coco-queue.

Paolo


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-03 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-02  6:24 [kvm:kvm-coco-queue 20/127] ERROR: modpost: "enable_tdx" [arch/x86/kvm/kvm-intel.ko] undefined! kernel test robot
2025-03-03 12:07 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox