]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb39f7f80a3143d88887ddeb5c680e59178897b80
treea03bcb97809a6eba61a593e24858065220196065
parent2158efe1a0d15c2f7e34a86c1ad4d71d675b8e53
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