2023-09-19 08:31:06

by Tiezhu Yang

[permalink] [raw]
Subject: [PATCH bpf-next v1] bpf, docs: Add loongarch64 as arch supporting BPF JIT

As BPF JIT support for loongarch64 was added about one year ago
with commit 5dc615520c4d ("LoongArch: Add BPF JIT support"), it
is appropriate to add loongarch64 as arch supporting BPF JIT in
bpf and sysctl docs as well.

Signed-off-by: Tiezhu Yang <[email protected]>
---
Documentation/admin-guide/sysctl/net.rst | 1 +
Documentation/networking/filter.rst | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/admin-guide/sysctl/net.rst b/Documentation/admin-guide/sysctl/net.rst
index 4877563..c752594 100644
--- a/Documentation/admin-guide/sysctl/net.rst
+++ b/Documentation/admin-guide/sysctl/net.rst
@@ -71,6 +71,7 @@ two flavors of JITs, the newer eBPF JIT currently supported on:
- s390x
- riscv64
- riscv32
+ - loongarch64

And the older cBPF JIT supported on the following archs:

diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst
index f69da50..7d8c538 100644
--- a/Documentation/networking/filter.rst
+++ b/Documentation/networking/filter.rst
@@ -650,8 +650,8 @@ before a conversion to the new layout is being done behind the scenes!

Currently, the classic BPF format is being used for JITing on most
32-bit architectures, whereas x86-64, aarch64, s390x, powerpc64,
-sparc64, arm32, riscv64, riscv32 perform JIT compilation from eBPF
-instruction set.
+sparc64, arm32, riscv64, riscv32, loongarch64 perform JIT compilation
+from eBPF instruction set.

Testing
-------
--
2.1.0


2023-09-21 23:54:50

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH bpf-next v1] bpf, docs: Add loongarch64 as arch supporting BPF JIT

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <[email protected]>:

On Tue, 19 Sep 2023 16:25:37 +0800 you wrote:
> As BPF JIT support for loongarch64 was added about one year ago
> with commit 5dc615520c4d ("LoongArch: Add BPF JIT support"), it
> is appropriate to add loongarch64 as arch supporting BPF JIT in
> bpf and sysctl docs as well.
>
> Signed-off-by: Tiezhu Yang <[email protected]>
>
> [...]

Here is the summary with links:
- [bpf-next,v1] bpf, docs: Add loongarch64 as arch supporting BPF JIT
https://git.kernel.org/bpf/bpf-next/c/ac0691c75ab7

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