Re: [PATCH 1/2] bpf, arm64: remove structs on stack constraint

2025-07-16 Thread Alexis Lothoré
On Tue Jul 15, 2025 at 5:40 PM CEST, Alexei Starovoitov wrote: > On Tue, Jul 15, 2025 at 7:31 AM Will Deacon wrote: >> >> On Tue, Jul 15, 2025 at 04:02:25PM +0200, Alexis Lothoré wrote: >> > On Tue Jul 15, 2025 at 3:32 PM CEST, Will Deacon wrote: >> > > On Wed, Jul 09, 2025 at 10:36:55AM +0200, Al

Re: [PATCH 1/2] bpf, arm64: remove structs on stack constraint

2025-07-15 Thread Alexei Starovoitov
On Tue, Jul 15, 2025 at 7:31 AM Will Deacon wrote: > > On Tue, Jul 15, 2025 at 04:02:25PM +0200, Alexis Lothoré wrote: > > On Tue Jul 15, 2025 at 3:32 PM CEST, Will Deacon wrote: > > > On Wed, Jul 09, 2025 at 10:36:55AM +0200, Alexis Lothoré (eBPF > > > Foundation) wrote: > > >> While introducing

Re: [PATCH 1/2] bpf, arm64: remove structs on stack constraint

2025-07-15 Thread Will Deacon
On Tue, Jul 15, 2025 at 04:02:25PM +0200, Alexis Lothoré wrote: > On Tue Jul 15, 2025 at 3:32 PM CEST, Will Deacon wrote: > > On Wed, Jul 09, 2025 at 10:36:55AM +0200, Alexis Lothoré (eBPF Foundation) > > wrote: > >> While introducing support for 9+ arguments for tracing programs on > >> ARM64, co

Re: [PATCH 1/2] bpf, arm64: remove structs on stack constraint

2025-07-15 Thread Alexis Lothoré
On Tue Jul 15, 2025 at 3:32 PM CEST, Will Deacon wrote: > On Wed, Jul 09, 2025 at 10:36:55AM +0200, Alexis Lothoré (eBPF Foundation) > wrote: >> While introducing support for 9+ arguments for tracing programs on >> ARM64, commit 9014cf56f13d ("bpf, arm64: Support up to 12 function >> arguments") h

Re: [PATCH 1/2] bpf, arm64: remove structs on stack constraint

2025-07-15 Thread Will Deacon
On Wed, Jul 09, 2025 at 10:36:55AM +0200, Alexis Lothoré (eBPF Foundation) wrote: > While introducing support for 9+ arguments for tracing programs on > ARM64, commit 9014cf56f13d ("bpf, arm64: Support up to 12 function > arguments") has also introduced a constraint preventing BPF trampolines > fr

[PATCH 1/2] bpf, arm64: remove structs on stack constraint

2025-07-09 Thread eBPF Foundation
While introducing support for 9+ arguments for tracing programs on ARM64, commit 9014cf56f13d ("bpf, arm64: Support up to 12 function arguments") has also introduced a constraint preventing BPF trampolines from being generated if the target function consumes a struct argument passed on stack, becau