selftests/bpf: Skip test_bpf_syscall_macro's syscall_arg1 on arm64 and s390
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 9 Feb 2022 02:17:42 +0000 (03:17 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 9 Feb 2022 05:37:41 +0000 (21:37 -0800)
commit9e45a377f29b5a66f75c0c3a0d84ad5c583290e8
tree7dbdf5b4157881345223d646f26e0444298e0d21
parentcf0b5b2769233b026cfa41206109dea77b0d17e3
selftests/bpf: Skip test_bpf_syscall_macro's syscall_arg1 on arm64 and s390

These architectures can provide access to the first syscall argument
only through PT_REGS_PARM1_CORE_SYSCALL().

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220209021745.2215452-8-iii@linux.ibm.com
tools/testing/selftests/bpf/prog_tests/test_bpf_syscall_macro.c
tools/testing/selftests/bpf/progs/bpf_syscall_macro.c