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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux