LoongArch: Fix BPF trampoline related issues
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest8 patches 1 replyApplied
- v58 patches 7 repliesSuperseded
- v48 patches 10 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 9 replies | Superseded | |
| v2 | 3 patches | 6 replies | Superseded | |
| v1 | 3 patches | 4 replies | Superseded |
Changes in v6 from the cover letter
* Rework patch 8 as suggested by Huacai and Tiezhu
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | LoongArch: BPF: Remove duplicated flags checkarch/ | +2 | 0 replies | |
| 2/8 | LoongArch: BPF: Remove duplicated bpf_flush_icache()arch/ | +0 | 0 replies | |
| 3/8 | LoongArch: BPF: No support of struct argument in trampoline programsarch/ | +6 | 0 replies | |
| 4/8 | LoongArch: BPF: No text_poke() for kernel textarch/ | +5 | 0 replies | |
| 5/8 | LoongArch: BPF: Don't assume trampoline size is page alignedarch/ | +1 | 0 replies | |
| 6/8 | LoongArch: BPF: Make trampoline size stablearch/ | +2 | 0 replies | |
| 7/8 | LoongArch: BPF: Make error handling robust in arch_prepare_bpf_trampoline()arch/ | +4 | 0 replies | |
| 8/8 | LoongArch: BPF: Sign extend struct ops return values properlyarch/ | +36 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by.
| Patch | Vincent Li |
|---|---|
| 1/8 | T-b |
| 2/8 | T-b |
| 3/8 | T-b |
| 4/8 | T-b |
| 5/8 | T-b |
| 6/8 | T-b |
| 7/8 | T-b |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/8] LoongArch: Fix BPF trampoline related issues
The following two selftest cases triggers oops on LoongArch:
$ ./test_progs -a ns_bpf_qdisc -a tracing_struct
This series tries to fix/workaround these issues.
See individual commit for details.
v5 -> v6:
* Rework patch 8 as suggested by Huacai and Tiezhu
Hengqi Chen (8):
LoongArch: BPF: Remove duplicated flags check
LoongArch: BPF: Remove duplicated bpf_flush_icache()
LoongArch: BPF: No support of struct argument in trampoline programs
LoongArch: BPF: No text_poke() for kernel text
LoongArch: BPF: Don't assume trampoline size is page aligned
LoongArch: BPF: Make trampoline size stable
LoongArch: BPF: Make error handling robust in
arch_prepare_bpf_trampoline()
LoongArch: BPF: Sign extend struct ops return values properly
arch/loongarch/net/bpf_jit.c | 72 ++++++++++++++++++++++++++++-------- 1 file changed, 56 insertions(+), 16 deletions(-)
--
2.43.5