From: kernel test robot <lkp@intel.com>
To: Dov Murik <dovmurik@linux.ibm.com>, linux-efi@vger.kernel.org
Cc: kbuild-all@lists.01.org, Dov Murik <dovmurik@linux.ibm.com>,
Borislav Petkov <bp@suse.de>, Ashish Kalra <ashish.kalra@amd.com>,
Brijesh Singh <brijesh.singh@amd.com>,
Tom Lendacky <thomas.lendacky@amd.com>,
Ard Biesheuvel <ardb@kernel.org>,
James Morris <jmorris@namei.org>,
"Serge E. Hallyn" <serge@hallyn.com>,
Andi Kleen <ak@linux.intel.com>
Subject: Re: [PATCH v3 3/3] virt: Add efi_secret module to expose confidential computing secrets
Date: Fri, 15 Oct 2021 07:07:20 +0800 [thread overview]
Message-ID: <202110150706.yTx5oXOU-lkp@intel.com> (raw)
In-Reply-To: <20211014130848.592611-4-dovmurik@linux.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]
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@intel.com>
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@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 70948 bytes --]
prev parent reply other threads:[~2021-10-14 23:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 13:08 [PATCH v3 0/3] Allow guest access to EFI confidential computing secret area Dov Murik
2021-10-14 13:08 ` [PATCH v3 1/3] efi/libstub: Copy " Dov Murik
2021-10-14 13:08 ` [PATCH v3 2/3] efi: Reserve " Dov Murik
2021-10-14 13:36 ` Greg KH
2021-10-20 6:51 ` Dov Murik
2021-10-14 13:08 ` [PATCH v3 3/3] virt: Add efi_secret module to expose confidential computing secrets Dov Murik
2021-10-14 23:07 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202110150706.yTx5oXOU-lkp@intel.com \
--to=lkp@intel.com \
--cc=ak@linux.intel.com \
--cc=ardb@kernel.org \
--cc=ashish.kalra@amd.com \
--cc=bp@suse.de \
--cc=brijesh.singh@amd.com \
--cc=dovmurik@linux.ibm.com \
--cc=jmorris@namei.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-efi@vger.kernel.org \
--cc=serge@hallyn.com \
--cc=thomas.lendacky@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox