LoongArch: Add support for BPF Arena
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | LoongArch: BPF: Move sign_extend() upperarch/ | +31 | 2 replies | |
| 2/7 | LoongArch: BPF: Rename local variable sign_extend to sign_extarch/ | +9 | 0 replies | |
| 3/7 | LoongArch: BPF: Sign extend kfunc call argumentsarch/ | +16 | 2 replies | |
| 4/7 | LoongArch: BPF: Zero-extend bpf_tail_call() indexarch/ | +2 | 0 replies | |
| 5/7 | LoongArch: BPF: Use BPF prog pack allocatorarch/ arch/ stxSxLQw | +87 | 2 replies | |
| 6/7 | LoongArch: BPF: Implement PROBE_MEM32 pseudo instructionsarch/ arch/ | +66 | 0 replies | |
| 7/7 | LoongArch: BPF: Implement bpf_addr_space_cast instructionarch/ arch/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] LoongArch: Add support for BPF Arena
This patch set aims to add support for BPF Arena in LoongArch.
Patch 1~4 are some fixes and prep works.
Patch 5 use BPF prog pack allocator for BPF progs
Patch 6~7 adds support for BPF Arena
With this set, the following test cases pass without regressions:
$ ./test_progs -a arena_htab \
-a arena_list \
-a compute_live_registers \
-a kfunc_call \
-a libbpf_probe_map_types \
-a lookup_key \
-a verifier_arena \
-a verifier_arena_large \
-a verifier_ldsxHengqi Chen (7):
LoongArch: BPF: Move sign_extend() upper
LoongArch: BPF: Rename local variable sign_extend to sign_ext
LoongArch: BPF: Sign extend kfunc call arguments
LoongArch: BPF: Zero-extend bpf_tail_call() index
LoongArch: BPF: Use BPF prog pack allocator
LoongArch: BPF: Implement PROBE_MEM32 pseudo instructions
LoongArch: BPF: Implement bpf_addr_space_cast instruction
arch/loongarch/net/bpf_jit.c | 305 +++++++++++++++++++++++++---------- arch/loongarch/net/bpf_jit.h | 4 +- stxSxLQw | 0 3 files changed, 227 insertions(+), 82 deletions(-) create mode 100644 stxSxLQw
--
2.43.5