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 -- 2.35.1