Hello:
This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov ast@kernel.org:
On Tue, 27 May 2025 12:06:02 +0200 you wrote:
Hello,
this is the v2 of the many args series for arm64, being itself a revival of Xu Kuhoai's work to enable larger arguments count for BPF programs on ARM64 ([1]).
The discussions in v1 shed some light on some issues around specific cases, for example with functions passing struct on stack with custom packing/alignment attributes: those cases can not be properly detected with the current BTF info. So this new revision aims to separate concerns with a simpler implementation, just accepting additional args on stack if we can make sure about the alignment constraints (and so, refusing attachment to functions passing structs on stacks). I then checked if the specific alignment constraints could be checked with larger scalar types rather than structs, but it appears that this use case is in fact rejected at the verifier level (see a9b59159d338 ("bpf: Do not allow btf_ctx_access with __int128 types")). So in the end the specific alignment corner cases raised in [1] can not really happen in the kernel in its current state. This new revision still brings support for the standard cases as a first step, it will then be possible to iterate on top of it to add the more specific cases like struct passed on stack and larger types.
[...]
Here is the summary with links: - [bpf-next,v3,1/2] bpf, arm64: Support up to 12 function arguments https://git.kernel.org/bpf/bpf-next/c/9014cf56f13d - [bpf-next,v3,2/2] selftests/bpf: enable many-args tests for arm64 https://git.kernel.org/bpf/bpf-next/c/149ead9d7e3d
You are awesome, thank you!