From: kernel test robot <lkp@intel.com>
To: Dave Jiang <dave.jiang@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [djiang:cxl-security 10/16] arch/x86/include/asm/cacheflush.h:15:9: error: implicit declaration of function 'wbinvd_on_all_cpus'
Date: Sat, 23 Jul 2022 04:08:06 +0800 [thread overview]
Message-ID: <202207230443.XqQnDddU-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git cxl-security
head: a9e386b59eef5db739f0706d734daa39759dab96
commit: abef64ac4e6fcd42bddc34994ee00ee33b7d6686 [10/16] cxl/pmem: Add "Unlock" security command support
config: x86_64-randconfig-a002 (https://download.01.org/0day-ci/archive/20220723/202207230443.XqQnDddU-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git/commit/?id=abef64ac4e6fcd42bddc34994ee00ee33b7d6686
git remote add djiang https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git
git fetch --no-tags djiang cxl-security
git checkout abef64ac4e6fcd42bddc34994ee00ee33b7d6686
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/cxl/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/cacheflush.h:5,
from include/linux/highmem.h:8,
from include/linux/bvec.h:10,
from include/linux/blk_types.h:10,
from include/linux/bio.h:10,
from include/linux/libnvdimm.h:14,
from drivers/cxl/security.c:3:
drivers/cxl/security.c: In function 'cxl_pmem_security_unlock':
>> arch/x86/include/asm/cacheflush.h:15:9: error: implicit declaration of function 'wbinvd_on_all_cpus' [-Werror=implicit-function-declaration]
15 | wbinvd_on_all_cpus(); \
| ^~~~~~~~~~~~~~~~~~
drivers/cxl/security.c:133:9: note: in expansion of macro 'flush_cache_all'
133 | flush_cache_all();
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/wbinvd_on_all_cpus +15 arch/x86/include/asm/cacheflush.h
b2bba72c10cdd9 include/asm-x86/cacheflush.h Thomas Gleixner 2007-10-15 12
86257bb97c28b5 arch/x86/include/asm/cacheflush.h Davidlohr Bueso 2022-07-12 13 #define flush_cache_all() \
86257bb97c28b5 arch/x86/include/asm/cacheflush.h Davidlohr Bueso 2022-07-12 14 do { \
86257bb97c28b5 arch/x86/include/asm/cacheflush.h Davidlohr Bueso 2022-07-12 @15 wbinvd_on_all_cpus(); \
86257bb97c28b5 arch/x86/include/asm/cacheflush.h Davidlohr Bueso 2022-07-12 16 } while (0); \
86257bb97c28b5 arch/x86/include/asm/cacheflush.h Davidlohr Bueso 2022-07-12 17
:::::: The code at line 15 was first introduced by commit
:::::: 86257bb97c28b5c4c183ae2395db09e76fde198a x86: define flush_cache_all as global wbinvd
:::::: TO: Davidlohr Bueso <dave@stgolabs.net>
:::::: CC: Dave Jiang <dave.jiang@intel.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-07-22 20:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202207230443.XqQnDddU-lkp@intel.com \
--to=lkp@intel.com \
--cc=dave.jiang@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®