[PATCH bpf-next v2] arm64,bpf: Support struct arguments in the BPF trampoline

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon May 15 12:20:19 PDT 2023


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel at iogearbox.net>:

On Thu, 11 May 2023 16:05:07 +0200 you wrote:
> This extends the BPF trampoline JIT to support attachment to functions
> that take small structures (up to 128bit) as argument. This is trivially
> achieved by saving/restoring a number of "argument registers" rather
> than a number of arguments.
> 
> The AAPCS64 section 6.8.2 describes the parameter passing ABI.
> "Composite types" (like C structs) below 16 bytes (as enforced by the
> BPF verifier) are provided as part of the 8 argument registers as
> explained in the section C.12.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2] arm64,bpf: Support struct arguments in the BPF trampoline
    https://git.kernel.org/bpf/bpf-next/c/90564f1e3dd6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-arm-kernel mailing list