Fix objtool: missing int3 after ret warning
commit43569ee374208e827409ec1ce4cf169d7a9a3095
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 20 Jun 2022 23:36:21 +0000 (20 23:36 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Jun 2022 21:19:43 +0000 (27 14:19 -0700)
treee417fb4306c4f5250f059431d94bfda4d9352e63
parent8aceded193f58da9a3837fb9d828dab05ad9e82f
Fix objtool: missing int3 after ret warning

Resolve straight-line speculation warnings reported by objtool
for x86_64 assembly on Linux when CONFIG_SLS is set.  See the
following LWN article for the complete details.

https://lwn.net/Articles/877845/

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13528
Closes #13575
12 files changed:
module/icp/asm-x86_64/aes/aes_aesni.S
module/icp/asm-x86_64/aes/aes_amd64.S
module/icp/asm-x86_64/blake3/blake3_avx2.S
module/icp/asm-x86_64/blake3/blake3_avx512.S
module/icp/asm-x86_64/blake3/blake3_sse2.S
module/icp/asm-x86_64/blake3/blake3_sse41.S
module/icp/asm-x86_64/modes/aesni-gcm-x86_64.S
module/icp/asm-x86_64/modes/gcm_pclmulqdq.S
module/icp/asm-x86_64/sha2/sha256_impl.S
module/icp/asm-x86_64/sha2/sha512_impl.S
module/icp/include/sys/ia32/asm_linkage.h
module/lua/setjmp/setjmp_x86_64.S