]> git.itanic.dy.fi Git - linux-stable/commit
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>
Wed, 5 Sep 2018 07:29:52 +0000 (09:29 +0200)
commit6a32f6f857afff26a736997a0bd702e33aaf6582
tree3118e30c30747d8a0e4056106982f8b28cb70b87
parent120c776a2ab1bb6639ff9806cee0f9a2395f06cd
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