android_kernel_oneplus_msm8998/arch/s390/net
Martin Schwidefsky 2502064731 s390: fix br_r1_trampoline for machines without exrl
commit 26f843848bae973817b3587780ce6b7b0200d3e4 upstream.

For machines without the exrl instruction the BFP jit generates
code that uses an "br %r1" instruction located in the lowcore page.
Unfortunately there is a cut & paste error that puts an additional
"larl %r1,.+14" instruction in the code that clobbers the branch
target address in %r1. Remove the larl instruction.

Cc: <stable@vger.kernel.org> # v4.17+
Fixes: de5cb6eb51 ("s390: use expoline thunks in the BPF JIT")
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:18:40 +02:00
..
bpf_jit.h s390/bpf: fix recache skb->data/hlen for skb_vlan_push/pop 2016-06-24 10:18:19 -07:00
bpf_jit.S s390: use expoline thunks in the BPF JIT 2018-05-26 08:48:59 +02:00
bpf_jit_comp.c s390: fix br_r1_trampoline for machines without exrl 2018-09-05 09:18:40 +02:00
Makefile s390/bpf,jit: BPF Just In Time compiler for s390 2012-09-26 15:44:49 +02:00