]> exis.tech > repos - linux.git/commit
selftests/bpf: Test jited inline of bpf_get_smp_processor_id() for LoongArch
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 25 Jun 2026 05:08:58 +0000 (13:08 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 25 Jun 2026 05:08:58 +0000 (13:08 +0800)
commit262a3b4fa1792d40728c69995924e11cf761f5cf
treefcbd926cf8fc73f6e1beb822958f356831dd0ceb
parent689c121446f2c8c850dd6206a038f0cf25c807e2
selftests/bpf: Test jited inline of bpf_get_smp_processor_id() for LoongArch

Add the testcase for the jited inline of bpf_get_smp_processor_id(),
only for LoongArch currently.

Here is the test result on LoongArch:

  $ sudo ./test_progs -t verifier_jit_inline
  #604/1   verifier_jit_inline/inline_bpf_get_current_task:OK
  #604/2   verifier_jit_inline/inline_bpf_get_smp_processor_id:OK
  #604     verifier_jit_inline:OK
  Summary: 1/2 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
tools/testing/selftests/bpf/progs/verifier_jit_inline.c