mbox series

[bpf-next,0/4] Add support for aarch64 to selftests/bpf/vmtest.sh

Message ID 20221021210701.728135-1-chantr4@gmail.com (mailing list archive)
Headers show
Series Add support for aarch64 to selftests/bpf/vmtest.sh | expand

Message

Manu Bretelle Oct. 21, 2022, 9:06 p.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 21, 2022, 11:30 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Fri, 21 Oct 2022 14:06:57 -0700 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/4] selftests/bpf: Remove entries from config.s390x already present in config
    https://git.kernel.org/bpf/bpf-next/c/7a42af4b94f1
  - [bpf-next,2/4] selftests/bpf: Add config.aarch64
    https://git.kernel.org/bpf/bpf-next/c/ec99451f0a48
  - [bpf-next,3/4] selftests/bpf: Update vmtests.sh to support aarch64
    https://git.kernel.org/bpf/bpf-next/c/20776b72ae2a
  - [bpf-next,4/4] selftests/bpf: Initial DENYLIST for aarch64
    https://git.kernel.org/bpf/bpf-next/c/94d52a191807

You are awesome, thank you!