s390/lib: use expoline for all bcr instructions
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 6 Aug 2018 11:49:47 +0000 (13:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Sep 2018 07:43:06 +0000 (09:43 +0200)
commit9e9792d3ffc813a6aef88a06891fbc13c96b979a
tree39ad84bdd39dc2cb655af29f2a00e4806e5c8f85
parentc0b809985a7a418fcc3361c239ae79250245282d
s390/lib: use expoline for all bcr instructions

commit 5eda25b10297684c1f46a14199ec00210f3c346e upstream.

The memove, memset, memcpy, __memset16, __memset32 and __memset64
function have an additional indirect return branch in form of a
"bzr" instruction. These need to use expolines as well.

Cc: <stable@vger.kernel.org> # v4.17+
Fixes: 97489e0663 ("s390/lib: use expoline for indirect branches")
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/lib/mem.S