powerpc/bpf: Some updates and cleanups
Status from this message: Applied to powerpc/next.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | powerpc/bpf: Skip branch range validation during first passarch/ | +2 | 0 replies | |
| 2/17 | powerpc/bpf: Emit a single branch instruction for known short branch rangesarch/ arch/ | +8 | 0 replies | |
| 3/17 | powerpc/bpf: Handle large branch ranges with BPF_EXITarch/ arch/ arch/ +1 more | +33 | 0 replies | |
| 4/17 | powerpc64/bpf: Do not save/restore LR on each call to bpf_stf_barrier()arch/ | +1 | 0 replies | |
| 5/17 | powerpc64/bpf: Use r12 for constant blindingarch/ | +1 | 0 replies | |
| 6/17 | powerpc64: Set PPC64_ELF_ABI_v[1|2] macros to 1arch/ | +2 | 0 replies | |
| 7/17 | powerpc64/bpf elfv2: Setup kernel TOC in r2 on entryarch/ | +8 | 0 replies | |
| 8/17 | powerpc64/bpf elfv1: Do not load TOC before calling functionsarch/ arch/ arch/ +1 more | +30 | 0 replies | |
| 9/17 | powerpc64/bpf: Optimize instruction sequence used for function callsarch/ | +13 | 0 replies | |
| 10/17 | powerpc/bpf: Rename PPC_BL_ABS() to PPC_BL()arch/ arch/ | +4 | 0 replies | |
| 11/17 | powerpc64/bpf: Convert some of the uses of PPC_BPF_[LL|STL] to PPC_BPF_[LD|STD]arch/ | +11 | 0 replies | |
| 12/17 | powerpc64/bpf: Get rid of PPC_BPF_[LL|STL|STLU] macrosarch/ arch/ | +15 | 0 replies | |
| 13/17 | powerpc/bpf: Cleanup bpf_jit.harch/ arch/ | +3 | 0 replies | |
| 14/17 | powerpc/bpf: Move bpf_jit64.h into bpf_jit_comp64.carch/ arch/ | +53 | 0 replies | |
| 15/17 | powerpc/bpf: Use _Rn macros for GPRsarch/ arch/ | +49 | 0 replies | |
| 16/17 | powerpc64/bpf: Store temp registers' bpf to ppc mappingarch/ | +86 | 0 replies | |
| 17/17 | powerpc/bpf: Simplify bpf_to_ppc() and adopt it for powerpc64arch/ arch/ arch/ +1 more | +98 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH powerpc/next 00/17] powerpc/bpf: Some updates and cleanups
This is a follow-up series with the pending patches from:
https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=279602&state=*
Patches 1-5 and 8 are unchanged. Patch 6 is new and patch 7 has changes based on discussion from the last series. Patch 9 has a small change to not skip the toc load for elf v2.
Patches 10-17 are new to this series and are largely some cleanups to the bpf code on powerpc.
- Naveen
Jordan Niethe (1):
powerpc64/bpf: Store temp registers' bpf to ppc mapping
Naveen N. Rao (16):
powerpc/bpf: Skip branch range validation during first pass powerpc/bpf: Emit a single branch instruction for known short branch
ranges
powerpc/bpf: Handle large branch ranges with BPF_EXIT powerpc64/bpf: Do not save/restore LR on each call to
bpf_stf_barrier()
powerpc64/bpf: Use r12 for constant blinding
powerpc64: Set PPC64_ELF_ABI_v[1|2] macros to 1 powerpc64/bpf elfv2: Setup kernel TOC in r2 on entry powerpc64/bpf elfv1: Do not load TOC before calling functions powerpc64/bpf: Optimize instruction sequence used for function calls powerpc/bpf: Rename PPC_BL_ABS() to PPC_BL() powerpc64/bpf: Convert some of the uses of PPC_BPF_[LL|STL] to
PPC_BPF_[LD|STD]
powerpc64/bpf: Get rid of PPC_BPF_[LL|STL|STLU] macros powerpc/bpf: Cleanup bpf_jit.h
powerpc/bpf: Move bpf_jit64.h into bpf_jit_comp64.c powerpc/bpf: Use _Rn macros for GPRs
powerpc/bpf: Simplify bpf_to_ppc() and adopt it for powerpc64
arch/powerpc/include/asm/types.h | 4 +- arch/powerpc/net/bpf_jit.h | 35 +-- arch/powerpc/net/bpf_jit64.h | 91 ------ arch/powerpc/net/bpf_jit_comp.c | 34 ++- arch/powerpc/net/bpf_jit_comp32.c | 113 ++++---- arch/powerpc/net/bpf_jit_comp64.c | 440 ++++++++++++++++-------------- 6 files changed, 340 insertions(+), 377 deletions(-) delete mode 100644 arch/powerpc/net/bpf_jit64.h
base-commit: 1b43a74f255c5c00db25a5fedfd75ca0dc029022
Signature · 1 line
2.35.1