tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-4.9.y
head: d7f83e4f45e886d919bc985bd225b8355ddd9284
commit: 6c1dc8f96b54ad9e63ef3becac73750a588abe6e [9242/9999] bpf: fix bpf_jit_limit knob
for PAGE_SIZE >= 64K
config: powerpc-randconfig-r021-20210607 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.5.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/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.9.y
git checkout 6c1dc8f96b54ad9e63ef3becac73750a588abe6e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.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 >>):
> kernel/bpf/core.c:222:12: warning: no previous declaration for
'bpf_jit_alloc_exec_limit' [-Wmissing-declarations]
u64 __weak
bpf_jit_alloc_exec_limit(void)
^~~~~~~~~~~~~~~~~~~~~~~~
vim +/bpf_jit_alloc_exec_limit +222 kernel/bpf/core.c
217
218 /* Can be overridden by an arch's JIT compiler if it has a custom,
219 * dedicated BPF backend memory area, or if neither of the two
220 * below apply.
221 */
222 u64 __weak bpf_jit_alloc_exec_limit(void)
223 {
224 #if defined(MODULES_VADDR)
225 return MODULES_END - MODULES_VADDR;
226 #else
227 return VMALLOC_END - VMALLOC_START;
228 #endif
229 }
230
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org