bpf, arm64: Stack argument fixes
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf, arm64: Fix redundant MOV and clarify stack arg commentsarch/ | +7 | 0 replies | Applied |
| 2/2 | selftests/bpf: Use at least 10 args in stack argument teststools/ tools/ tools/ +2 more | +108 | 1 reply | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Yonghong Song |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/2] bpf, arm64: Stack argument fixes
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
Signature · 1 line
2.53.0-Meta