* [intel-tdx:osv-integration 267/343] arch/x86/kvm/vmx/tdx_error.c:43:28: error: 'TDH_MEM_RD' undeclared; did you mean 'TDH_MNG_RD'?
@ 2023-08-17 12:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-17 12:35 UTC (permalink / raw)
To: Isaku Yamahata; +Cc: oe-kbuild-all
tree: https://github.com/intel/tdx.git osv-integration
head: 70f3f1eeaaab6b7c6bcb5b7b3e1f1bc6c32d3b99
commit: cb11ddb86de8b967f258ad70c261cd19721cd1c7 [267/343] [REVERTME] KVM: TDX: return -EAGAIN on race to populate Secure EPT entry
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230817/202308172013.HlJeQBUA-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230817/202308172013.HlJeQBUA-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/202308172013.HlJeQBUA-lkp@intel.com/
Note: the intel-tdx/osv-integration HEAD 70f3f1eeaaab6b7c6bcb5b7b3e1f1bc6c32d3b99 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
arch/x86/kvm/vmx/tdx_error.c: In function 'tdx_seamcall_name':
>> arch/x86/kvm/vmx/tdx_error.c:43:28: error: 'TDH_MEM_RD' undeclared (first use in this function); did you mean 'TDH_MNG_RD'?
43 | BUILD_NAME(TDH_MEM_RD),
| ^~~~~~~~~~
arch/x86/kvm/vmx/tdx_error.c:26:28: note: in definition of macro 'BUILD_NAME'
26 | #define BUILD_NAME(name) { name, #name }
| ^~~~
arch/x86/kvm/vmx/tdx_error.c:43:28: note: each undeclared identifier is reported only once for each function it appears in
43 | BUILD_NAME(TDH_MEM_RD),
| ^~~~~~~~~~
arch/x86/kvm/vmx/tdx_error.c:26:28: note: in definition of macro 'BUILD_NAME'
26 | #define BUILD_NAME(name) { name, #name }
| ^~~~
>> arch/x86/kvm/vmx/tdx_error.c:44:28: error: 'TDH_MEM_WR' undeclared (first use in this function); did you mean 'TDH_VP_WR'?
44 | BUILD_NAME(TDH_MEM_WR),
| ^~~~~~~~~~
arch/x86/kvm/vmx/tdx_error.c:26:28: note: in definition of macro 'BUILD_NAME'
26 | #define BUILD_NAME(name) { name, #name }
| ^~~~
vim +43 arch/x86/kvm/vmx/tdx_error.c
27
28 static const char *tdx_seamcall_name(u64 op)
29 {
30 static const struct tdx_name names[] = {
31 BUILD_NAME(TDH_VP_ENTER),
32 BUILD_NAME(TDH_MNG_ADDCX),
33 BUILD_NAME(TDH_MEM_PAGE_ADD),
34 BUILD_NAME(TDH_MEM_SEPT_ADD),
35 BUILD_NAME(TDH_VP_ADDCX),
36 BUILD_NAME(TDH_MEM_PAGE_RELOCATE),
37 BUILD_NAME(TDH_MEM_PAGE_AUG),
38 BUILD_NAME(TDH_MEM_RANGE_BLOCK),
39 BUILD_NAME(TDH_MNG_KEY_CONFIG),
40 BUILD_NAME(TDH_MNG_CREATE),
41 BUILD_NAME(TDH_VP_CREATE),
42 BUILD_NAME(TDH_MNG_RD),
> 43 BUILD_NAME(TDH_MEM_RD),
> 44 BUILD_NAME(TDH_MEM_WR),
45 BUILD_NAME(TDH_MEM_PAGE_DEMOTE),
46 BUILD_NAME(TDH_MR_EXTEND),
47 BUILD_NAME(TDH_MR_FINALIZE),
48 BUILD_NAME(TDH_VP_FLUSH),
49 BUILD_NAME(TDH_MNG_VPFLUSHDONE),
50 BUILD_NAME(TDH_MNG_KEY_FREEID),
51 BUILD_NAME(TDH_MNG_INIT),
52 BUILD_NAME(TDH_VP_INIT),
53 BUILD_NAME(TDH_MEM_PAGE_PROMOTE),
54 BUILD_NAME(TDH_MEM_SEPT_RD),
55 BUILD_NAME(TDH_VP_RD),
56 BUILD_NAME(TDH_MNG_KEY_RECLAIMID),
57 BUILD_NAME(TDH_PHYMEM_PAGE_RECLAIM),
58 BUILD_NAME(TDH_MEM_PAGE_REMOVE),
59 BUILD_NAME(TDH_MEM_SEPT_REMOVE),
60 BUILD_NAME(TDH_MEM_TRACK),
61 BUILD_NAME(TDH_MEM_RANGE_UNBLOCK),
62 BUILD_NAME(TDH_PHYMEM_CACHE_WB),
63 BUILD_NAME(TDH_PHYMEM_PAGE_WBINVD),
64 BUILD_NAME(TDH_VP_WR),
65 BUILD_NAME(TDH_SYS_LP_SHUTDOWN),
66 };
67
68 return tdx_find_name(op, names, ARRAY_SIZE(names),
69 "Unknown TDX SEAMCALL op");
70 }
71
--
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:[~2023-08-17 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17 12:35 [intel-tdx:osv-integration 267/343] arch/x86/kvm/vmx/tdx_error.c:43:28: error: 'TDH_MEM_RD' undeclared; did you mean 'TDH_MNG_RD'? 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.