]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
s390/crc32-vx: use expoline for indirect branches
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 23 Apr 2018 12:31:36 +0000 (14:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 May 2018 07:07:34 +0000 (09:07 +0200)
commit467a3bf219cee12259182c5cb4821f88fd518a51
tree3a2f3f860f899d8b1c2cc58fb3e4f5825cd7d03e
parent6dd85fbb87d1d6b87a3b1f02ca28d7b2abd2e7ba
s390/crc32-vx: use expoline for indirect branches

The return from the crc32_le_vgfm_16/crc32c_le_vgfm_16 and the
crc32_be_vgfm_16 functions are done with "br %r14". These are indirect
branches as well and need to use execute trampolines for CONFIG_EXPOLINE=y.

Cc: stable@vger.kernel.org # 4.16
Fixes: f19fbd5ed6 ("s390: introduce execute-trampolines for branches")
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/crypto/crc32be-vx.S
arch/s390/crypto/crc32le-vx.S