[PATCH bpf-next 0/2] bpf, arm64: Stack argument fixes
Puranjay Mohan
puranjay at kernel.org
Thu May 28 09:17:46 PDT 2026
Patch 1 fixes a redundant MOV in the arm64 JIT's
emit_stack_arg_store_imm() and clarifies the stack layout comments. This
is not a bug fix but an improvement.
Patch 2 bumps the stack argument tests from 6-8 args to at least 10 so
they actually exercise the native stack on arm64, where x0-x7 cover the
first 8 arguments.
Puranjay Mohan (2):
bpf, arm64: Fix redundant MOV and clarify stack arg comments
selftests/bpf: Use at least 10 args in stack argument tests
arch/arm64/net/bpf_jit_comp.c | 12 +--
.../selftests/bpf/prog_tests/stack_arg.c | 30 +++----
tools/testing/selftests/bpf/progs/stack_arg.c | 90 +++++++++++--------
.../selftests/bpf/progs/stack_arg_kfunc.c | 24 ++---
.../selftests/bpf/test_kmods/bpf_testmod.c | 25 ++++--
.../bpf/test_kmods/bpf_testmod_kfunc.h | 11 ++-
6 files changed, 115 insertions(+), 77 deletions(-)
base-commit: e42e53ae23b7d41df22ccd7788192bf578f24da2
--
2.53.0-Meta
More information about the linux-arm-kernel
mailing list