tree:
https://github.com/shenki/linux ppc-kfence
head: 916a8df9850da81d89e53f0b4b91bbb41dc2923f
commit: 916a8df9850da81d89e53f0b4b91bbb41dc2923f [7/7] WIP: powerpc: Fix kfence for
book3s64 radix mmu
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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://github.com/shenki/linux/commit/916a8df9850da81d89e53f0b4b91bbb41d...
git remote add shenki
https://github.com/shenki/linux
git fetch --no-tags shenki ppc-kfence
git checkout 916a8df9850da81d89e53f0b4b91bbb41dc2923f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/powerpc/mm/book3s64/hash_utils.c:1986:6: warning: no
previous prototype for 'hash__kfence_protect_page' [-Wmissing-prototypes]
1986 | bool hash__kfence_protect_page(unsigned long addr, bool protect)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/hash__kfence_protect_page +1986 arch/powerpc/mm/book3s64/hash_utils.c
1984
1985 #ifdef CONFIG_KFENCE
1986 bool hash__kfence_protect_page(unsigned long addr, bool protect)
1987 {
1988 unsigned long lmi = __pa(addr) >> PAGE_SHIFT;
1989
1990 if (protect)
1991 kernel_unmap_linear_page(addr, lmi);
1992 else
1993 kernel_map_linear_page(addr, lmi);
1994
1995 return true;
1996 }
1997 #endif
1998
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org