selftests/bpf: rename nocsr -> bpf_fastcall in selftests
authorEduard Zingerman <eddyz87@gmail.com>
Thu, 22 Aug 2024 08:41:08 +0000 (01:41 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 22 Aug 2024 15:35:20 +0000 (08:35 -0700)
commitadec67d372fecd97585d76dbebb610d62ec9d2cc
treee91c76385295bae760babd66ca8d44843fa5150c
parentae010757a55b57c8b82628e8ea9b7da2269131d9
selftests/bpf: rename nocsr -> bpf_fastcall in selftests

Attribute used by LLVM implementation of the feature had been changed
from no_caller_saved_registers to bpf_fastcall (see [1]).
This commit replaces references to nocsr by references to bpf_fastcall
to keep LLVM and selftests parts in sync.

[1] https://github.com/llvm/llvm-project/pull/105417

Acked-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240822084112.3257995-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/verifier.c
tools/testing/selftests/bpf/progs/verifier_bpf_fastcall.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/verifier_nocsr.c [deleted file]