diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-09-07 13:41:16 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-22 11:43:10 +0200 |
| commit | be935ab81431016bbbf19c461cc1597b1308f91a (patch) | |
| tree | 8f452d482cae259cfa8ded927b7afca09e2a00cb /Makefile | |
| parent | 0ade46e9d2ce3fa28e07f6888e15ec7c72d23d91 (diff) | |
| download | linux-be935ab81431016bbbf19c461cc1597b1308f91a.tar.gz linux-be935ab81431016bbbf19c461cc1597b1308f91a.tar.bz2 linux-be935ab81431016bbbf19c461cc1597b1308f91a.zip | |
s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
commit 6e61dc9da0b7a0d91d57c2e20b5ea4fd2d4e7e53 upstream.
The JIT uses agfi for subtracting constants, but -(-0x80000000) cannot
be represented as a 32-bit signed binary integer. Fix by using algfi in
this particular case.
Reported-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Fixes: 054623105728 ("s390/bpf: Add s390x eBPF JIT compiler backend")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
