On Fri, Jul 25, 2025 at 04:42:29PM -0700, Yonghong Song wrote:
With this patch set and no CONFIG_CFI_CLANG in .config,
the bpf selftests work okay. In bpf ci, CONFIG_CFI_CLANG
is not enabled.
But if enabling CONFIG_CFI_CLANG, this patch set fixed
./test_progs run issue, but there are some test failures
like
===
test_get_linfo:FAIL:check jited_linfo[1]:ffffffffa000d581 - ffffffffa000d558 > 39
processed 4 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
#32/186 btf/line_info (No subprog):FAIL
test_get_linfo:FAIL:check jited_linfo[1]:ffffffffa000dee5 - ffffffffa000debc > 39
processed 4 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
#32/189 btf/line_info (No subprog. zero tailing line_info:FAIL
...
test_get_linfo:FAIL:check jited_linfo[1]:ffffffffa000e069 - ffffffffa000e040 > 38
processed 9 insns (limit 1000000) max_states_per_insn 0 total_states 1 peak_states 1 mark_read 0
#32/202 btf/line_info (dead subprog + dead start w/ move):FAIL
#32 btf:FAIL
===
The failure probably not related to this patch, but rather related
to CONFIG_CFI_CLANG itself. I will debug this separately.
Agreed, that looks unrelated to this series.
Sami