LoongArch: More BPF features
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
* rebase with latest loongarch-next
* collect Acked-by and Tested-by
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | LoongArch: BPF: Use BPF prog pack allocatorarch/ arch/ | +87 | 0 replies | |
| 2/3 | LoongArch: BPF: Implement PROBE_MEM32 pseudo instructionsarch/ arch/ | +68 | 0 replies | |
| 3/3 | LoongArch: BPF: Implement bpf_addr_space_cast instructionarch/ arch/ | +16 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Tiezhu Yang | Vincent Li |
|---|---|---|
| 1/3 | A-b | T-b |
| 2/3 | A-b | T-b |
| 3/3 | A-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] LoongArch: More BPF features
This small set implements new features for BPF.
* Patch 1 uses pack allocator for BPF programs (BPF trampoline already use pack allocator, this make it complete), with this, no regression on existing selftests
* Patch 2 & 3 implements basic support for BPF Arena, the following test cases passed:
- arena_htab
- arena_list
- arena_strsearch
- verifier_arena
- verifier_arena_large
This is built and tested on top of the cmpxchg128 series ([0]).
[0]: https://lore.kernel.org/loongarch/[email protected]/T/#t
changelog:
v1 -> v2:
* rebase with latest loongarch-next
* collect Acked-by and Tested-by
Hengqi Chen (3):
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 | 211 ++++++++++++++++++++++++++++------- arch/loongarch/net/bpf_jit.h | 4 +- 2 files changed, 171 insertions(+), 44 deletions(-)
--
2.43.5