-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Add support for aarch64 to selftests/bpf/vmtest.sh'
Manu Bretelle says: ==================== 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. ==================== Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
- Loading branch information
Showing
4 changed files
with
268 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
bloom_filter_map # libbpf: prog 'check_bloom': failed to attach: ERROR: strerror_r(-524)=22 | ||
bpf_cookie/lsm | ||
bpf_cookie/multi_kprobe_attach_api | ||
bpf_cookie/multi_kprobe_link_api | ||
bpf_cookie/trampoline | ||
bpf_loop/check_callback_fn_stop # link unexpected error: -524 | ||
bpf_loop/check_invalid_flags | ||
bpf_loop/check_nested_calls | ||
bpf_loop/check_non_constant_callback | ||
bpf_loop/check_nr_loops | ||
bpf_loop/check_null_callback_ctx | ||
bpf_loop/check_stack | ||
bpf_mod_race # bpf_mod_kfunc_race__attach unexpected error: -524 (errno 524) | ||
bpf_tcp_ca/dctcp_fallback | ||
btf_dump/btf_dump: var_data # find type id unexpected find type id: actual -2 < expected 0 | ||
cgroup_hierarchical_stats # attach unexpected error: -524 (errno 524) | ||
d_path/basic # setup attach failed: -524 | ||
deny_namespace # attach unexpected error: -524 (errno 524) | ||
fentry_fexit # fentry_attach unexpected error: -1 (errno 524) | ||
fentry_test # fentry_attach unexpected error: -1 (errno 524) | ||
fexit_sleep # fexit_attach fexit attach failed: -1 | ||
fexit_stress # fexit attach unexpected fexit attach: actual -524 < expected 0 | ||
fexit_test # fexit_attach unexpected error: -1 (errno 524) | ||
get_func_args_test # get_func_args_test__attach unexpected error: -524 (errno 524) (trampoline) | ||
get_func_ip_test # get_func_ip_test__attach unexpected error: -524 (errno 524) (trampoline) | ||
htab_update/reenter_update | ||
kfree_skb # attach fentry unexpected error: -524 (trampoline) | ||
kfunc_call/subprog # extern (var ksym) 'bpf_prog_active': not found in kernel BTF | ||
kfunc_call/subprog_lskel # skel unexpected error: -2 | ||
kfunc_dynptr_param/dynptr_data_null # libbpf: prog 'dynptr_data_null': failed to attach: ERROR: strerror_r(-524)=22 | ||
kprobe_multi_test/attach_api_addrs # bpf_program__attach_kprobe_multi_opts unexpected error: -95 | ||
kprobe_multi_test/attach_api_pattern # bpf_program__attach_kprobe_multi_opts unexpected error: -95 | ||
kprobe_multi_test/attach_api_syms # bpf_program__attach_kprobe_multi_opts unexpected error: -95 | ||
kprobe_multi_test/bench_attach # bpf_program__attach_kprobe_multi_opts unexpected error: -95 | ||
kprobe_multi_test/link_api_addrs # link_fd unexpected link_fd: actual -95 < expected 0 | ||
kprobe_multi_test/link_api_syms # link_fd unexpected link_fd: actual -95 < expected 0 | ||
kprobe_multi_test/skel_api # kprobe_multi__attach unexpected error: -524 (errno 524) | ||
ksyms_module/libbpf # 'bpf_testmod_ksym_percpu': not found in kernel BTF | ||
ksyms_module/lskel # test_ksyms_module_lskel__open_and_load unexpected error: -2 | ||
libbpf_get_fd_by_id_opts # test_libbpf_get_fd_by_id_opts__attach unexpected error: -524 (errno 524) | ||
lookup_key # test_lookup_key__attach unexpected error: -524 (errno 524) | ||
lru_bug # lru_bug__attach unexpected error: -524 (errno 524) | ||
modify_return # modify_return__attach failed unexpected error: -524 (errno 524) | ||
module_attach # skel_attach skeleton attach failed: -524 | ||
mptcp/base # run_test mptcp unexpected error: -524 (errno 524) | ||
netcnt # packets unexpected packets: actual 10001 != expected 10000 | ||
recursion # skel_attach unexpected error: -524 (errno 524) | ||
ringbuf # skel_attach skeleton attachment failed: -1 | ||
setget_sockopt # attach_cgroup unexpected error: -524 | ||
sk_storage_tracing # test_sk_storage_tracing__attach unexpected error: -524 (errno 524) | ||
skc_to_unix_sock # could not attach BPF object unexpected error: -524 (errno 524) | ||
socket_cookie # prog_attach unexpected error: -524 | ||
stacktrace_build_id # compare_stack_ips stackmap vs. stack_amap err -1 errno 2 | ||
task_local_storage/exit_creds # skel_attach unexpected error: -524 (errno 524) | ||
task_local_storage/recursion # skel_attach unexpected error: -524 (errno 524) | ||
test_bprm_opts # attach attach failed: -524 | ||
test_ima # attach attach failed: -524 | ||
test_local_storage # attach lsm attach failed: -524 | ||
test_lsm # test_lsm_first_attach unexpected error: -524 (errno 524) | ||
test_overhead # attach_fentry unexpected error: -524 | ||
timer # timer unexpected error: -524 (errno 524) | ||
timer_crash # timer_crash__attach unexpected error: -524 (errno 524) | ||
timer_mim # timer_mim unexpected error: -524 (errno 524) | ||
trace_printk # trace_printk__attach unexpected error: -1 (errno 524) | ||
trace_vprintk # trace_vprintk__attach unexpected error: -1 (errno 524) | ||
tracing_struct # tracing_struct__attach unexpected error: -524 (errno 524) | ||
trampoline_count # attach_prog unexpected error: -524 | ||
unpriv_bpf_disabled # skel_attach unexpected error: -524 (errno 524) | ||
user_ringbuf/test_user_ringbuf_post_misaligned # misaligned_skel unexpected error: -524 (errno 524) | ||
user_ringbuf/test_user_ringbuf_post_producer_wrong_offset | ||
user_ringbuf/test_user_ringbuf_post_larger_than_ringbuf_sz | ||
user_ringbuf/test_user_ringbuf_basic # ringbuf_basic_skel unexpected error: -524 (errno 524) | ||
user_ringbuf/test_user_ringbuf_sample_full_ring_buffer | ||
user_ringbuf/test_user_ringbuf_post_alignment_autoadjust | ||
user_ringbuf/test_user_ringbuf_overfill | ||
user_ringbuf/test_user_ringbuf_discards_properly_ignored | ||
user_ringbuf/test_user_ringbuf_loop | ||
user_ringbuf/test_user_ringbuf_msg_protocol | ||
user_ringbuf/test_user_ringbuf_blocking_reserve | ||
verify_pkcs7_sig # test_verify_pkcs7_sig__attach unexpected error: -524 (errno 524) | ||
vmlinux # skel_attach skeleton attach failed: -524 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
CONFIG_9P_FS=y | ||
CONFIG_ARCH_VEXPRESS=y | ||
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y | ||
CONFIG_ARM_SMMU_V3=y | ||
CONFIG_ATA=y | ||
CONFIG_AUDIT=y | ||
CONFIG_BINFMT_MISC=y | ||
CONFIG_BLK_CGROUP=y | ||
CONFIG_BLK_DEV_BSGLIB=y | ||
CONFIG_BLK_DEV_INITRD=y | ||
CONFIG_BLK_DEV_IO_TRACE=y | ||
CONFIG_BLK_DEV_RAM=y | ||
CONFIG_BLK_DEV_SD=y | ||
CONFIG_BONDING=y | ||
CONFIG_BPFILTER=y | ||
CONFIG_BPF_JIT_ALWAYS_ON=y | ||
CONFIG_BPF_JIT_DEFAULT_ON=y | ||
CONFIG_BPF_PRELOAD_UMD=y | ||
CONFIG_BPF_PRELOAD=y | ||
CONFIG_BRIDGE=m | ||
CONFIG_CGROUP_CPUACCT=y | ||
CONFIG_CGROUP_DEVICE=y | ||
CONFIG_CGROUP_FREEZER=y | ||
CONFIG_CGROUP_HUGETLB=y | ||
CONFIG_CGROUP_NET_CLASSID=y | ||
CONFIG_CGROUP_PERF=y | ||
CONFIG_CGROUP_PIDS=y | ||
CONFIG_CGROUP_SCHED=y | ||
CONFIG_CGROUPS=y | ||
CONFIG_CHECKPOINT_RESTORE=y | ||
CONFIG_CHR_DEV_SG=y | ||
CONFIG_COMPAT=y | ||
CONFIG_CPUSETS=y | ||
CONFIG_CRASH_DUMP=y | ||
CONFIG_CRYPTO_USER_API_RNG=y | ||
CONFIG_CRYPTO_USER_API_SKCIPHER=y | ||
CONFIG_DEBUG_ATOMIC_SLEEP=y | ||
CONFIG_DEBUG_INFO_BTF=y | ||
CONFIG_DEBUG_INFO_DWARF4=y | ||
CONFIG_DEBUG_LIST=y | ||
CONFIG_DEBUG_LOCKDEP=y | ||
CONFIG_DEBUG_NOTIFIERS=y | ||
CONFIG_DEBUG_PAGEALLOC=y | ||
CONFIG_DEBUG_SECTION_MISMATCH=y | ||
CONFIG_DEBUG_SG=y | ||
CONFIG_DETECT_HUNG_TASK=y | ||
CONFIG_DEVTMPFS_MOUNT=y | ||
CONFIG_DEVTMPFS=y | ||
CONFIG_DRM_VIRTIO_GPU=y | ||
CONFIG_DRM=y | ||
CONFIG_DUMMY=y | ||
CONFIG_EXPERT=y | ||
CONFIG_EXT4_FS_POSIX_ACL=y | ||
CONFIG_EXT4_FS_SECURITY=y | ||
CONFIG_EXT4_FS=y | ||
CONFIG_FANOTIFY=y | ||
CONFIG_FB=y | ||
CONFIG_FUNCTION_PROFILER=y | ||
CONFIG_FUSE_FS=y | ||
CONFIG_FW_CFG_SYSFS_CMDLINE=y | ||
CONFIG_FW_CFG_SYSFS=y | ||
CONFIG_GDB_SCRIPTS=y | ||
CONFIG_HAVE_EBPF_JIT=y | ||
CONFIG_HAVE_KPROBES_ON_FTRACE=y | ||
CONFIG_HAVE_KPROBES=y | ||
CONFIG_HAVE_KRETPROBES=y | ||
CONFIG_HEADERS_INSTALL=y | ||
CONFIG_HIGH_RES_TIMERS=y | ||
CONFIG_HUGETLBFS=y | ||
CONFIG_HW_RANDOM_VIRTIO=y | ||
CONFIG_HW_RANDOM=y | ||
CONFIG_HZ_100=y | ||
CONFIG_IDLE_PAGE_TRACKING=y | ||
CONFIG_IKHEADERS=y | ||
CONFIG_INET6_ESP=y | ||
CONFIG_INET_ESP=y | ||
CONFIG_INET=y | ||
CONFIG_INPUT_EVDEV=y | ||
CONFIG_IP_ADVANCED_ROUTER=y | ||
CONFIG_IP_MULTICAST=y | ||
CONFIG_IP_MULTIPLE_TABLES=y | ||
CONFIG_IP_NF_IPTABLES=y | ||
CONFIG_IPV6_SEG6_LWTUNNEL=y | ||
CONFIG_IPVLAN=y | ||
CONFIG_JUMP_LABEL=y | ||
CONFIG_KERNEL_UNCOMPRESSED=y | ||
CONFIG_KPROBES_ON_FTRACE=y | ||
CONFIG_KPROBES=y | ||
CONFIG_KRETPROBES=y | ||
CONFIG_KSM=y | ||
CONFIG_LATENCYTOP=y | ||
CONFIG_LIVEPATCH=y | ||
CONFIG_LOCK_STAT=y | ||
CONFIG_MACVLAN=y | ||
CONFIG_MACVTAP=y | ||
CONFIG_MAGIC_SYSRQ=y | ||
CONFIG_MAILBOX=y | ||
CONFIG_MEMCG=y | ||
CONFIG_MEMORY_HOTPLUG=y | ||
CONFIG_MEMORY_HOTREMOVE=y | ||
CONFIG_NAMESPACES=y | ||
CONFIG_NET_9P_VIRTIO=y | ||
CONFIG_NET_9P=y | ||
CONFIG_NET_ACT_BPF=y | ||
CONFIG_NET_ACT_GACT=y | ||
CONFIG_NETDEVICES=y | ||
CONFIG_NETFILTER_XT_MATCH_BPF=y | ||
CONFIG_NETFILTER_XT_TARGET_MARK=y | ||
CONFIG_NET_KEY=y | ||
CONFIG_NET_SCH_FQ=y | ||
CONFIG_NET_VRF=y | ||
CONFIG_NET=y | ||
CONFIG_NF_TABLES=y | ||
CONFIG_NLMON=y | ||
CONFIG_NO_HZ_IDLE=y | ||
CONFIG_NR_CPUS=256 | ||
CONFIG_NUMA=y | ||
CONFIG_OVERLAY_FS=y | ||
CONFIG_PACKET_DIAG=y | ||
CONFIG_PACKET=y | ||
CONFIG_PANIC_ON_OOPS=y | ||
CONFIG_PARTITION_ADVANCED=y | ||
CONFIG_PCI_HOST_GENERIC=y | ||
CONFIG_PCI=y | ||
CONFIG_PL320_MBOX=y | ||
CONFIG_POSIX_MQUEUE=y | ||
CONFIG_PROC_KCORE=y | ||
CONFIG_PROFILING=y | ||
CONFIG_PROVE_LOCKING=y | ||
CONFIG_PTDUMP_DEBUGFS=y | ||
CONFIG_RC_DEVICES=y | ||
CONFIG_RC_LOOPBACK=y | ||
CONFIG_RTC_CLASS=y | ||
CONFIG_RTC_DRV_PL031=y | ||
CONFIG_RT_GROUP_SCHED=y | ||
CONFIG_SAMPLE_SECCOMP=y | ||
CONFIG_SAMPLES=y | ||
CONFIG_SCHED_AUTOGROUP=y | ||
CONFIG_SCHED_TRACER=y | ||
CONFIG_SCSI_CONSTANTS=y | ||
CONFIG_SCSI_LOGGING=y | ||
CONFIG_SCSI_SCAN_ASYNC=y | ||
CONFIG_SCSI_VIRTIO=y | ||
CONFIG_SCSI=y | ||
CONFIG_SECURITY_NETWORK=y | ||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | ||
CONFIG_SERIAL_AMBA_PL011=y | ||
CONFIG_STACK_TRACER=y | ||
CONFIG_STATIC_KEYS_SELFTEST=y | ||
CONFIG_SYSVIPC=y | ||
CONFIG_TASK_DELAY_ACCT=y | ||
CONFIG_TASK_IO_ACCOUNTING=y | ||
CONFIG_TASKSTATS=y | ||
CONFIG_TASK_XACCT=y | ||
CONFIG_TCG_TIS=y | ||
CONFIG_TCG_TPM=y | ||
CONFIG_TCP_CONG_ADVANCED=y | ||
CONFIG_TCP_CONG_DCTCP=y | ||
CONFIG_TLS=y | ||
CONFIG_TMPFS_POSIX_ACL=y | ||
CONFIG_TMPFS=y | ||
CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP=y | ||
CONFIG_TRANSPARENT_HUGEPAGE=y | ||
CONFIG_TUN=y | ||
CONFIG_UNIX=y | ||
CONFIG_UPROBES=y | ||
CONFIG_USELIB=y | ||
CONFIG_USER_NS=y | ||
CONFIG_VETH=y | ||
CONFIG_VIRTIO_BALLOON=y | ||
CONFIG_VIRTIO_BLK=y | ||
CONFIG_VIRTIO_CONSOLE=y | ||
CONFIG_VIRTIO_FS=y | ||
CONFIG_VIRTIO_INPUT=y | ||
CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y | ||
CONFIG_VIRTIO_MMIO=y | ||
CONFIG_VIRTIO_NET=y | ||
CONFIG_VIRTIO_PCI=y | ||
CONFIG_VLAN_8021Q=y | ||
CONFIG_VSOCKETS=y | ||
CONFIG_XFRM_USER=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters