diff options
author | Björn Töpel <bjorn.topel@gmail.com> | 2020-11-18 08:16:40 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2020-11-18 17:45:35 -0800 |
commit | 6007b23cc7555df882be870433dc589841d4eb06 (patch) | |
tree | 98b969cfd7612f38e05c6cda6d5382ac0a8b36c6 /tools/testing/selftests/bpf/verifier/raw_tp_writable.c | |
parent | c77b0589ca29ad1859fe7d7c1ecd63c0632379fa (diff) |
selftests/bpf: Mark tests that require unaligned memory access
A lot of tests require unaligned memory access to work. Mark the tests
as such, so that they can be avoided on unsupported architectures such
as RISC-V.
Signed-off-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Luke Nelson <luke.r.nels@gmail.com>
Link: https://lore.kernel.org/bpf/20201118071640.83773-4-bjorn.topel@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/raw_tp_writable.c')
-rw-r--r-- | tools/testing/selftests/bpf/verifier/raw_tp_writable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/verifier/raw_tp_writable.c b/tools/testing/selftests/bpf/verifier/raw_tp_writable.c index 95b5d70a1dc1..2978fb5a769d 100644 --- a/tools/testing/selftests/bpf/verifier/raw_tp_writable.c +++ b/tools/testing/selftests/bpf/verifier/raw_tp_writable.c @@ -31,4 +31,5 @@ .fixup_map_hash_8b = { 1, }, .prog_type = BPF_PROG_TYPE_RAW_TRACEPOINT_WRITABLE, .errstr = "R6 invalid variable buffer offset: off=0, var_off=(0x0; 0xffffffff)", + .flags = F_NEEDS_EFFICIENT_UNALIGNED_ACCESS, }, |