bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding arch_prepare_bpf_trampoline support for aarch64?
@ 2021-12-28 16:02 Huichun Feng
  2021-12-30  2:06 ` Alexei Starovoitov
  0 siblings, 1 reply; 3+ messages in thread
From: Huichun Feng @ 2021-12-28 16:02 UTC (permalink / raw)
  To: bpf, linux-arm-kernel; +Cc: jean-philippe

Hi Jean and the list,

Attaching BPF to fentry/fexit hooks requires
arch_prepare_bpf_trampoline(), which
AFAIK has only been implemented on x86. Is there any related ongoing patch for
aarch64?

I've found a discussion [0] on this, and seems there has no further discussion.

Any thoughts?

Thanks!
Huichun

[0] https://www.spinics.net/lists/bpf/msg35573.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Adding arch_prepare_bpf_trampoline support for aarch64?
  2021-12-28 16:02 Adding arch_prepare_bpf_trampoline support for aarch64? Huichun Feng
@ 2021-12-30  2:06 ` Alexei Starovoitov
  2022-01-03 18:33   ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 3+ messages in thread
From: Alexei Starovoitov @ 2021-12-30  2:06 UTC (permalink / raw)
  To: Huichun Feng, Daniel Borkmann
  Cc: bpf, linux-arm-kernel, Jean-Philippe Brucker

On Wed, Dec 29, 2021 at 2:12 AM Huichun Feng <foxhoundsk.tw@gmail.com> wrote:
>
> Hi Jean and the list,
>
> Attaching BPF to fentry/fexit hooks requires
> arch_prepare_bpf_trampoline(), which
> AFAIK has only been implemented on x86. Is there any related ongoing patch for
> aarch64?
>
> I've found a discussion [0] on this, and seems there has no further discussion.

No patches have been posted since then.
If you have cycles to pick up this work it would be awesome!

> Any thoughts?
>
> Thanks!
> Huichun
>
> [0] https://www.spinics.net/lists/bpf/msg35573.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Adding arch_prepare_bpf_trampoline support for aarch64?
  2021-12-30  2:06 ` Alexei Starovoitov
@ 2022-01-03 18:33   ` Toke Høiland-Jørgensen
  0 siblings, 0 replies; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2022-01-03 18:33 UTC (permalink / raw)
  To: Alexei Starovoitov, Huichun Feng, Daniel Borkmann
  Cc: bpf, linux-arm-kernel, Jean-Philippe Brucker

Alexei Starovoitov <alexei.starovoitov@gmail.com> writes:

> On Wed, Dec 29, 2021 at 2:12 AM Huichun Feng <foxhoundsk.tw@gmail.com> wrote:
>>
>> Hi Jean and the list,
>>
>> Attaching BPF to fentry/fexit hooks requires
>> arch_prepare_bpf_trampoline(), which
>> AFAIK has only been implemented on x86. Is there any related ongoing patch for
>> aarch64?
>>
>> I've found a discussion [0] on this, and seems there has no further discussion.
>
> No patches have been posted since then.
> If you have cycles to pick up this work it would be awesome!

+1, would love to see this! :)

-Toke


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-03 18:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-28 16:02 Adding arch_prepare_bpf_trampoline support for aarch64? Huichun Feng
2021-12-30  2:06 ` Alexei Starovoitov
2022-01-03 18:33   ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).