]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests/bpf: Add reg_bounds tests for ldsx and subreg compare
authorYonghong Song <yonghong.song@linux.dev>
Tue, 23 Jul 2024 16:29:40 +0000 (09:29 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 29 Jul 2024 22:05:05 +0000 (15:05 -0700)
commit26672b5caf3cbeeffe8651035dddff95f610e7ec
treea5f635cd817e750c23c047f91e7ec23a35cadf4e
parent9f5469b84577500375b311a98ffa8f4a68b5c77a
selftests/bpf: Add reg_bounds tests for ldsx and subreg compare

Add a few reg_bounds selftests to test 32/16/8-bit ldsx and subreg comparison.
Without the previous patch, all added tests will fail.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240723162940.2732171-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
tools/testing/selftests/bpf/prog_tests/reg_bounds.c