Re: [PATCH v3 3/3] virt: Add efi_secret module to expose confidential computing secrets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dov,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on 60a9483534ed0d99090a2ee1d4bb0b8179195f51]

url:    https://github.com/0day-ci/linux/commits/Dov-Murik/Allow-guest-access-to-EFI-confidential-computing-secret-area/20211014-211522
base:   60a9483534ed0d99090a2ee1d4bb0b8179195f51
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/666035eb88583c145049b34282634d7ba716dc12
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dov-Murik/Allow-guest-access-to-EFI-confidential-computing-secret-area/20211014-211522
        git checkout 666035eb88583c145049b34282634d7ba716dc12
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   drivers/virt/coco/efi_secret/efi_secret.c: In function 'wipe_memory':
>> drivers/virt/coco/efi_secret/efi_secret.c:117:9: error: implicit declaration of function 'clflush_cache_range'; did you mean 'flush_cache_range'? [-Werror=implicit-function-declaration]
     117 |         clflush_cache_range(addr, size);
         |         ^~~~~~~~~~~~~~~~~~~
         |         flush_cache_range
   cc1: all warnings being treated as errors


vim +117 drivers/virt/coco/efi_secret/efi_secret.c

   109	
   110	/*
   111	 * Overwrite memory content with zeroes, and ensure that dirty cache lines are
   112	 * actually written back to memory, to clear out the secret.
   113	 */
   114	static void wipe_memory(void *addr, size_t size)
   115	{
   116		memzero_explicit(addr, size);
 > 117		clflush_cache_range(addr, size);
   118	}
   119	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux