From: kernel test robot <lkp@intel.com>
To: Mike Rapoport <rppt@linux.ibm.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Catalin Marinas <catalin.marinas@arm.com>,
David Hildenbrand <david@redhat.com>
Subject: [linux-next:master 6040/6048] arch/arm64/include/asm/kfence.h:17:2: error: implicit declaration of function 'set_memory_valid'
Date: Thu, 4 Feb 2021 00:50:06 +0800 [thread overview]
Message-ID: <202102040056.Yck5dik8-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 59fa6a163ffabc1bf25c5e0e33899e268a96d3cc
commit: ea7ce6b17c1555b62690471f536eba6358ed3125 [6040/6048] set_memory: allow querying whether set_direct_map_*() is actually enabled
config: arm64-randconfig-r024-20210202 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ea7ce6b17c1555b62690471f536eba6358ed3125
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout ea7ce6b17c1555b62690471f536eba6358ed3125
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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 >>):
In file included from mm/kfence/core.c:26:
arch/arm64/include/asm/kfence.h: In function 'kfence_protect_page':
>> arch/arm64/include/asm/kfence.h:17:2: error: implicit declaration of function 'set_memory_valid' [-Werror=implicit-function-declaration]
17 | set_memory_valid(addr, 1, !protect);
| ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for OCTEONTX2_MBOX
Depends on NETDEVICES && ETHERNET && NET_VENDOR_MARVELL
Selected by
- CRYPTO_DEV_OCTEONTX2_CPT && CRYPTO && CRYPTO_HW && (ARM64 || COMPILE_TEST && PCI_MSI && 64BIT && CRYPTO_LIB_AES
vim +/set_memory_valid +17 arch/arm64/include/asm/kfence.h
b6a4dacdad08f0 Marco Elver 2021-01-22 14
b6a4dacdad08f0 Marco Elver 2021-01-22 15 static inline bool kfence_protect_page(unsigned long addr, bool protect)
b6a4dacdad08f0 Marco Elver 2021-01-22 16 {
b6a4dacdad08f0 Marco Elver 2021-01-22 @17 set_memory_valid(addr, 1, !protect);
b6a4dacdad08f0 Marco Elver 2021-01-22 18
b6a4dacdad08f0 Marco Elver 2021-01-22 19 return true;
b6a4dacdad08f0 Marco Elver 2021-01-22 20 }
b6a4dacdad08f0 Marco Elver 2021-01-22 21
:::::: The code at line 17 was first introduced by commit
:::::: b6a4dacdad08f0a7db077346f89b36aa6891cde7 arm64, kfence: enable KFENCE for ARM64
:::::: TO: Marco Elver <elver@google.com>
:::::: CC: Stephen Rothwell <sfr@canb.auug.org.au>
---
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: 40264 bytes --]
next reply other threads:[~2021-02-03 16:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 16:50 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-28 11:21 kernel test robot
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=202102040056.Yck5dik8-lkp@intel.com \
--to=lkp@intel.com \
--cc=catalin.marinas@arm.com \
--cc=david@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=rppt@linux.ibm.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