tree: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-traffic-gen-01 head: 3aaa72cb5c608f64b941ccc8d69caff51e89f67a commit: f0b693d10bc20904d60329b0a202d0aa2c666e8d [4/5] bpf: Add XDP_REDIRECT support to XDP for bpf_prog_run() config: x86_64-randconfig-a013-20211116 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=f0b693d10bc20904d60329b0a202d0aa2c666e8d git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git git fetch --no-tags toke xdp-traffic-gen-01 git checkout f0b693d10bc20904d60329b0a202d0aa2c666e8d # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): vmlinux.o: warning: objtool: do_machine_check()+0x6d1: call to queue_task_work() leaves .noinstr.text section vmlinux.o: warning: objtool: enter_from_user_mode()+0x4e: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x53: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x4e: call to on_thread_stack() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x4e: call to on_thread_stack() leaves .noinstr.text section ld: net/bpf/test_run.o: in function `bpf_test_run_xdp_init': >> net/bpf/test_run.c:117: undefined reference to `page_pool_task_get' vim +117 net/bpf/test_run.c 111 112 static int bpf_test_run_xdp_init(struct bpf_test_timer *t, 113 struct bpf_prog *prog, struct xdp_buff *orig_ctx) 114 { 115 struct page_pool *pp; 116 > 117 pp = page_pool_task_get(current); 118 if (IS_ERR(pp)) 119 return PTR_ERR(pp); 120 121 t->xdp.pp = pp; 122 123 /* We create a 'fake' RXQ referencing the original dev, but with an 124 * xdp_mem_info pointing to our page_pool 125 */ 126 xdp_rxq_info_reg(&t->xdp.rxq, orig_ctx->rxq->dev, 0, 0); 127 t->xdp.rxq.mem.type = MEM_TYPE_PAGE_POOL; 128 t->xdp.rxq.mem.id = pp->xdp_mem_id; 129 130 return 0; 131 } 132 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org