]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
s390: extend expoline to BC instructions
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 23 May 2018 16:21:35 +0000 (18:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 06:48:59 +0000 (08:48 +0200)
commitf436cb969ab314b25edcabfc4b4f1442c1b83eb7
treecf4c9ec4af554354ab790c182f4450ae33aa2d55
parentc617e74f5b3e027f622eb109d94ab909cd69cdfa
s390: extend expoline to BC instructions

[ Upstream commit 6deaa3bbca804b2a3627fd685f75de64da7be535 ]

The BPF JIT uses a 'b <disp>(%r<x>)' instruction in the definition
of the sk_load_word and sk_load_half functions.

Add support for branch-on-condition instructions contained in the
thunk code of an expoline.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/include/asm/nospec-insn.h
arch/s390/kernel/nospec-branch.c