lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <174836883250.1728518.5524041990135634472.git-patchwork-notify@kernel.org>
Date: Tue, 27 May 2025 18:00:32 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bo@...eaurora.org,
	otlin.com>@codeaurora.org
Cc: ast@...nel.org, daniel@...earbox.net, john.fastabend@...il.com,
 andrii@...nel.org, martin.lau@...ux.dev, eddyz87@...il.com, song@...nel.org,
 yonghong.song@...ux.dev, kpsingh@...nel.org, sdf@...ichev.me,
 haoluo@...gle.com, jolsa@...nel.org, puranjay@...nel.org,
 xukuohai@...weicloud.com, catalin.marinas@....com, will@...nel.org,
 mykolal@...com, shuah@...nel.org, mcoquelin.stm32@...il.com,
 alexandre.torgue@...s.st.com, revest@...omium.org,
 bastien.curutchet@...tlin.com, ebpf@...uxfoundation.org,
 thomas.petazzoni@...tlin.com, bpf@...r.kernel.org,
 linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
 linux-kselftest@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
 xukuohai@...wei.com
Subject: Re: [PATCH bpf-next v3 0/2] bpf, arm64: support up to 12 arguments

Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ