s390: extend expoline to BC instructions
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 24 Apr 2018 13:32:08 +0000 (15:32 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 May 2018 19:12:42 +0000 (21:12 +0200)
commit6deaa3bbca804b2a3627fd685f75de64da7be535
treea03bcb97809a6eba61a593e24858065220196065
parent9f18fff63cfd6f559daa1eaae60640372c65f84b
s390: extend expoline to BC instructions

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>
arch/s390/include/asm/nospec-insn.h
arch/s390/kernel/nospec-branch.c