summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay@kernel.org>2025-11-17 13:07:29 +0000
committerAlexei Starovoitov <ast@kernel.org>2025-11-21 16:40:21 -0800
commit84b1c40d5b4dae7493b4afb5b7e697dafeced8b2 (patch)
tree9a6650bc0b69d7d613321277e2989ee19e746e78 /tools/testing/selftests/bpf/progs/test_autoload.c
parent792f258803bca17a7acc912705a2c5edf032a744 (diff)
bpf: arm64: Add support for instructions array
Add support for the instructions array map type in the arm64 JIT by calling bpf_prog_update_insn_ptrs() with the offsets that map xlated_offset to the jited_offset in the final image. arm64 JIT already has this offset array which was being used for bpf_prog_fill_jited_linfo() and can be used directly for bpf_prog_update_insn_ptrs. Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Reviewed-by: Anton Protopopov <a.s.protopopov@gmail.com> Acked-by: Xu Kuohai <xukuohai@huawei.com> Link: https://lore.kernel.org/r/20251117130732.11107-2-puranjay@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions