From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [kkdwivedi:fengshui 16/16] kernel/bpf/core.c:1756:17: error: label 'JMP_CALL_X' used but not defined
Date: Sat, 07 Mar 2026 00:24:16 +0800 [thread overview]
Message-ID: <202603070048.WS1VLNp3-lkp@intel.com> (raw)
tree: https://github.com/kkdwivedi/linux fengshui
head: 1807a4179319a4b8ade8ff010ddb889dc90325ca
commit: 1807a4179319a4b8ade8ff010ddb889dc90325ca [16/16] [FIXME] bpf: Allow indirect calls via callx instruction
config: sparc64-randconfig-001-20260306 (https://download.01.org/0day-ci/archive/20260307/202603070048.WS1VLNp3-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260307/202603070048.WS1VLNp3-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603070048.WS1VLNp3-lkp@intel.com/
All errors (new ones prefixed by >>):
kernel/bpf/core.c: In function '___bpf_prog_run':
>> kernel/bpf/core.c:1756:17: error: label 'JMP_CALL_X' used but not defined
1756 | BPF_INSN_MAP(BPF_INSN_2_LBL, BPF_INSN_3_LBL),
| ^~~~~~~~~~~~
vim +/JMP_CALL_X +1756 kernel/bpf/core.c
5e581dad4fec0e Daniel Borkmann 2018-01-26 1738
290af86629b25f Alexei Starovoitov 2018-01-09 1739 #ifndef CONFIG_BPF_JIT_ALWAYS_ON
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1740 /**
019d0454c61707 Randy Dunlap 2021-08-09 1741 * ___bpf_prog_run - run eBPF program on a given context
de1da68d9c9d23 Valdis Kletnieks 2019-01-28 1742 * @regs: is the array of MAX_BPF_EXT_REG eBPF pseudo-registers
7ae457c1e5b45a Alexei Starovoitov 2014-07-30 1743 * @insn: is the array of eBPF instructions
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1744 *
7ae457c1e5b45a Alexei Starovoitov 2014-07-30 1745 * Decode and execute eBPF instructions.
019d0454c61707 Randy Dunlap 2021-08-09 1746 *
019d0454c61707 Randy Dunlap 2021-08-09 1747 * Return: whatever value is in %BPF_R0 at program exit
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1748 */
2ec9898e9c70b9 He Fengqing 2021-03-31 1749 static u64 ___bpf_prog_run(u64 *regs, const struct bpf_insn *insn)
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1750 {
5e581dad4fec0e Daniel Borkmann 2018-01-26 1751 #define BPF_INSN_2_LBL(x, y) [BPF_##x | BPF_##y] = &&x##_##y
5e581dad4fec0e Daniel Borkmann 2018-01-26 1752 #define BPF_INSN_3_LBL(x, y, z) [BPF_##x | BPF_##y | BPF_##z] = &&x##_##y##_##z
e55a73251da335 Josh Poimboeuf 2019-06-27 1753 static const void * const jumptable[256] __annotate_jump_table = {
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1754 [0 ... 255] = &&default_label,
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1755 /* Now overwrite non-defaults ... */
5e581dad4fec0e Daniel Borkmann 2018-01-26 @1756 BPF_INSN_MAP(BPF_INSN_2_LBL, BPF_INSN_3_LBL),
5e581dad4fec0e Daniel Borkmann 2018-01-26 1757 /* Non-UAPI available opcodes. */
1ea47e01ad6ea0 Alexei Starovoitov 2017-12-14 1758 [BPF_JMP | BPF_CALL_ARGS] = &&JMP_CALL_ARGS,
71189fa9b092ef Alexei Starovoitov 2017-05-30 1759 [BPF_JMP | BPF_TAIL_CALL] = &&JMP_TAIL_CALL,
f5e81d11175015 Daniel Borkmann 2021-07-13 1760 [BPF_ST | BPF_NOSPEC] = &&ST_NOSPEC,
2a02759ef5f8a3 Alexei Starovoitov 2019-10-15 1761 [BPF_LDX | BPF_PROBE_MEM | BPF_B] = &&LDX_PROBE_MEM_B,
2a02759ef5f8a3 Alexei Starovoitov 2019-10-15 1762 [BPF_LDX | BPF_PROBE_MEM | BPF_H] = &&LDX_PROBE_MEM_H,
2a02759ef5f8a3 Alexei Starovoitov 2019-10-15 1763 [BPF_LDX | BPF_PROBE_MEM | BPF_W] = &&LDX_PROBE_MEM_W,
2a02759ef5f8a3 Alexei Starovoitov 2019-10-15 1764 [BPF_LDX | BPF_PROBE_MEM | BPF_DW] = &&LDX_PROBE_MEM_DW,
1f9a1ea821ff25 Yonghong Song 2023-07-27 1765 [BPF_LDX | BPF_PROBE_MEMSX | BPF_B] = &&LDX_PROBE_MEMSX_B,
1f9a1ea821ff25 Yonghong Song 2023-07-27 1766 [BPF_LDX | BPF_PROBE_MEMSX | BPF_H] = &&LDX_PROBE_MEMSX_H,
1f9a1ea821ff25 Yonghong Song 2023-07-27 1767 [BPF_LDX | BPF_PROBE_MEMSX | BPF_W] = &&LDX_PROBE_MEMSX_W,
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1768 };
5e581dad4fec0e Daniel Borkmann 2018-01-26 1769 #undef BPF_INSN_3_LBL
5e581dad4fec0e Daniel Borkmann 2018-01-26 1770 #undef BPF_INSN_2_LBL
04fd61ab36ec06 Alexei Starovoitov 2015-05-19 1771 u32 tail_call_cnt = 0;
f5bffecda951b5 Alexei Starovoitov 2014-07-22 1772
:::::: The code at line 1756 was first introduced by commit
:::::: 5e581dad4fec0e6d062740dc35b8dc248b39d224 bpf: make unknown opcode handling more robust
:::::: TO: Daniel Borkmann <daniel@iogearbox.net>
:::::: CC: Alexei Starovoitov <ast@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-03-06 16:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 16:24 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-02-26 14:08 [kkdwivedi:fengshui 16/16] kernel/bpf/core.c:1756:17: error: label 'JMP_CALL_X' used but not defined 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=202603070048.WS1VLNp3-lkp@intel.com \
--to=lkp@intel.com \
--cc=memxor@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.