]> git.hungrycats.org Git - linux/commit
s390: extend expoline to BC instructions
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 23 May 2018 16:22:30 +0000 (18:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:46:08 +0000 (16:46 +0200)
commitba8e36486b813c27d45779ee80af1b5207c0b19c
treef83e01a838ad40f084baf6039a87e6c3c7756135
parente236e1ae627357f640659ef6063916f93af416aa
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