public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/4] Add support for aarch64 to selftests/bpf/vmtest.sh
@ 2022-10-21 21:06 Manu Bretelle
  2022-10-21 21:06 ` [PATCH bpf-next 1/4] selftests/bpf: Remove entries from config.s390x already present in config Manu Bretelle
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Manu Bretelle @ 2022-10-21 21:06 UTC (permalink / raw)
  To: chantr4, bpf, andrii, mykolal, daniel, martin.lau, yhs

This patchset adds initial support for running BPF's vmtest on aarch64
architecture.
It includes a `config.aarch64` heavily based on `config.s390x`
Makes vmtest.sh handle aarch64 and set QEMU variables to values that
works on that arch.
Finally, it provides a DENYLIST.aarch64 that takes care of currently
broken tests on aarch64 so the vmtest run passes.

This was tested by running:

LLVM_STRIP=llvm-strip-16 CLANG=clang-16 \
    tools/testing/selftests/bpf/vmtest.sh  -- \
        ./test_progs -d \
            \"$(cat tools/testing/selftests/bpf/DENYLIST{,.aarch64} \
                | cut -d'#' -f1 \
                | sed -e 's/^[[:space:]]*//' \
                      -e 's/[[:space:]]*$//' \
                | tr -s '\n' ','\
            )\"

on an aarch64 host.

Manu Bretelle (4):
  selftests/bpf: Remove entries from config.s390x already present in
    config
  selftests/bpf: Add config.aarch64
  selftests/bpf: Update vmtests.sh to support aarch64
  selftests/bpf: Initial DENYLIST for aarch64

 tools/testing/selftests/bpf/DENYLIST.aarch64 |  81 +++++++++
 tools/testing/selftests/bpf/config.aarch64   | 181 +++++++++++++++++++
 tools/testing/selftests/bpf/config.s390x     |   3 -
 tools/testing/selftests/bpf/vmtest.sh        |   6 +
 4 files changed, 268 insertions(+), 3 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/DENYLIST.aarch64
 create mode 100644 tools/testing/selftests/bpf/config.aarch64

-- 
2.30.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-21 23:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-21 21:06 [PATCH bpf-next 0/4] Add support for aarch64 to selftests/bpf/vmtest.sh Manu Bretelle
2022-10-21 21:06 ` [PATCH bpf-next 1/4] selftests/bpf: Remove entries from config.s390x already present in config Manu Bretelle
2022-10-21 21:06 ` [PATCH bpf-next 2/4] selftests/bpf: Add config.aarch64 Manu Bretelle
2022-10-21 21:07 ` [PATCH bpf-next 3/4] selftests/bpf: Update vmtests.sh to support aarch64 Manu Bretelle
2022-10-21 21:07 ` [PATCH bpf-next 4/4] selftests/bpf: Initial DENYLIST for aarch64 Manu Bretelle
2022-10-21 23:27   ` Andrii Nakryiko
2022-10-21 23:30 ` [PATCH bpf-next 0/4] Add support for aarch64 to selftests/bpf/vmtest.sh patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox