summaryrefslogtreecommitdiff
path: root/include/linux/avtimer_kernel.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2021-09-06 15:04:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-26 13:33:46 +0200
commita738597a79e588bcf9817d4ec12740c99842db3b (patch)
tree8338e0cc607826b24a1b57047918a07b44e7712f /include/linux/avtimer_kernel.h
parentaa268ff278643818abaabc08a467f8119480f914 (diff)
s390/bpf: Fix optimizing out zero-extensions
commit db7bee653859ef7179be933e7d1384644f795f26 upstream. Currently the JIT completely removes things like `reg32 += 0`, however, the BPF_ALU semantics requires the target register to be zero-extended in such cases. Fix by optimizing out only the arithmetic operation, but not the subsequent zero-extension. 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 'include/linux/avtimer_kernel.h')
0 files changed, 0 insertions, 0 deletions