summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/opp2xxx.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2019-08-12 18:03:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-21 08:12:48 +0300
commitefd9998ebfb94158e9931677c36e813da31abeeb (patch)
treea2c654a116a2769e24d32d5a0bc2c6faeb5488bc /arch/arm/mach-omap2/opp2xxx.h
parent851224e62b5525f0a87a171905e5c144e1899cd2 (diff)
downloadlinux-efd9998ebfb94158e9931677c36e813da31abeeb.tar.xz
s390/bpf: fix lcgr instruction encoding
[ Upstream commit bb2d267c448f4bc3a3389d97c56391cb779178ae ] "masking, test in bounds 3" fails on s390, because BPF_ALU64_IMM(BPF_NEG, BPF_REG_2, 0) ignores the top 32 bits of BPF_REG_2. The reason is that JIT emits lcgfr instead of lcgr. The associated comment indicates that the code was intended to emit lcgr in the first place, it's just that the wrong opcode was used. Fix by using the correct opcode. Fixes: 054623105728 ("s390/bpf: Add s390x eBPF JIT compiler backend") Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Acked-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm/mach-omap2/opp2xxx.h')
0 files changed, 0 insertions, 0 deletions