This is a backport of the remaining patches from the below series: https://lore.kernel.org/all/cover.1633464148.git.naveen.n.rao@xxxxxxxxxxxxxxxxxx/ Kindly apply to the longterm tree for v4.9 Thanks, Naveen Naveen N. Rao (2): powerpc/bpf: Validate branch ranges powerpc/bpf: Fix BPF_SUB when imm == 0x80000000 arch/powerpc/net/bpf_jit.h | 25 ++++++++++++++++----- arch/powerpc/net/bpf_jit_comp64.c | 37 ++++++++++++++++++++----------- 2 files changed, 43 insertions(+), 19 deletions(-) base-commit: 59d4178b517472a1f023886baded2191458a76b5 -- 2.33.1