[PATCH bpf-next 4/5] selftests/bpf: Add DENYLIST.riscv64

Pu Lehui pulehui at huaweicloud.com
Thu Mar 28 05:49:15 PDT 2024


From: Pu Lehui <pulehui at huawei.com>

This patch adds DENYLIST.riscv64 file for riscv64. It will help BPF CI
and local vmtest to mask failing and unsupported test cases.

We can use the following command to use deny list in local vmtest as
previously mentioned by Manu.

tools/testing/selftests/bpf/vmtest.sh  -- \
    ./test_progs -d \
        \"$(cat tools/testing/selftests/bpf/DENYLIST.riscv64 \
            | cut -d'#' -f1 \
            | sed -e 's/^[[:space:]]*//' \
                  -e 's/[[:space:]]*$//' \
            | tr -s '\n' ','\
        )\"

Signed-off-by: Pu Lehui <pulehui at huawei.com>
---
 tools/testing/selftests/bpf/DENYLIST.riscv64 | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 tools/testing/selftests/bpf/DENYLIST.riscv64

diff --git a/tools/testing/selftests/bpf/DENYLIST.riscv64 b/tools/testing/selftests/bpf/DENYLIST.riscv64
new file mode 100644
index 000000000000..ebb4cc44c549
--- /dev/null
+++ b/tools/testing/selftests/bpf/DENYLIST.riscv64
@@ -0,0 +1,5 @@
+# riscv64 deny list for BPF CI and local vmtest
+exceptions					# JIT does not support exceptions
+fentry_test/fentry_many_args			# JIT does not support 12 args of bpf trampoline
+fexit_test/fexit_many_args			# JIT does not support 12 args of bpf trampoline
+tailcalls/tailcall_bpf2bpf*			# JIT does not support mixing bpf2bpf and tailcalls
-- 
2.34.1




More information about the linux-riscv mailing list