* Re: [PATCH RFC] virtio-mem: support Confidential Computing (CoCo) environments
[not found] <20260401-coco-v1-1-b9c3072e2d9c@redhat.com>
@ 2026-04-15 12:37 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-15 12:37 UTC (permalink / raw)
To: Marc-André Lureau; +Cc: llvm, oe-kbuild-all
Hi Marc-André,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on c369299895a591d96745d6492d4888259b004a9e]
url: https://github.com/intel-lab-lkp/linux/commits/Marc-Andr-Lureau/virtio-mem-support-Confidential-Computing-CoCo-environments/20260414-201359
base: c369299895a591d96745d6492d4888259b004a9e
patch link: https://lore.kernel.org/r/20260401-coco-v1-1-b9c3072e2d9c%40redhat.com
patch subject: [PATCH RFC] virtio-mem: support Confidential Computing (CoCo) environments
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260415/202604152042.Ddpp3f0z-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260415/202604152042.Ddpp3f0z-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/202604152042.Ddpp3f0z-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/virtio/virtio_mem.c:876:9: error: call to undeclared function 'set_memory_encrypted'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
876 | return set_memory_encrypted((unsigned long)__va(addr), PFN_DOWN(size));
| ^
>> drivers/virtio/virtio_mem.c:881:9: error: call to undeclared function 'set_memory_decrypted'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
881 | return set_memory_decrypted((unsigned long)__va(addr), PFN_DOWN(size));
| ^
2 errors generated.
vim +/set_memory_encrypted +876 drivers/virtio/virtio_mem.c
868
869 /*
870 * In CoCo (TDX, SEV-SNP) environments, hotplugged memory must be explicitly
871 * accepted before use (private/encrypted), and converted to shared/decrypted
872 * before returning to the hypervisor on unplug.
873 */
874 static int virtio_mem_coco_set_encrypted(uint64_t addr, uint64_t size)
875 {
> 876 return set_memory_encrypted((unsigned long)__va(addr), PFN_DOWN(size));
877 }
878
879 static int virtio_mem_coco_set_decrypted(uint64_t addr, uint64_t size)
880 {
> 881 return set_memory_decrypted((unsigned long)__va(addr), PFN_DOWN(size));
882 }
883
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread