x86: Prepare asm files for straight-line-speculation
Replace all ret/retq instructions with RET in preparation of making RET a macro. Since AS is case insensitive it's a big no-op without RET defined. find arch/x86/ -name \*.S | while read file do sed -i 's/\<ret[q]*\>/RET/' $file done Signed-off-by:Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by:
Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20211204134907.905503893@infradead.org
Showing
- arch/x86/boot/compressed/efi_thunk_64.S 1 addition, 1 deletionarch/x86/boot/compressed/efi_thunk_64.S
- arch/x86/boot/compressed/head_64.S 4 additions, 4 deletionsarch/x86/boot/compressed/head_64.S
- arch/x86/boot/compressed/mem_encrypt.S 3 additions, 3 deletionsarch/x86/boot/compressed/mem_encrypt.S
- arch/x86/crypto/aegis128-aesni-asm.S 24 additions, 24 deletionsarch/x86/crypto/aegis128-aesni-asm.S
- arch/x86/crypto/aes_ctrby8_avx-x86_64.S 1 addition, 1 deletionarch/x86/crypto/aes_ctrby8_avx-x86_64.S
- arch/x86/crypto/aesni-intel_asm.S 28 additions, 28 deletionsarch/x86/crypto/aesni-intel_asm.S
- arch/x86/crypto/aesni-intel_avx-x86_64.S 20 additions, 20 deletionsarch/x86/crypto/aesni-intel_avx-x86_64.S
- arch/x86/crypto/blake2s-core.S 2 additions, 2 deletionsarch/x86/crypto/blake2s-core.S
- arch/x86/crypto/blowfish-x86_64-asm_64.S 6 additions, 6 deletionsarch/x86/crypto/blowfish-x86_64-asm_64.S
- arch/x86/crypto/camellia-aesni-avx-asm_64.S 7 additions, 7 deletionsarch/x86/crypto/camellia-aesni-avx-asm_64.S
- arch/x86/crypto/camellia-aesni-avx2-asm_64.S 7 additions, 7 deletionsarch/x86/crypto/camellia-aesni-avx2-asm_64.S
- arch/x86/crypto/camellia-x86_64-asm_64.S 6 additions, 6 deletionsarch/x86/crypto/camellia-x86_64-asm_64.S
- arch/x86/crypto/cast5-avx-x86_64-asm_64.S 6 additions, 6 deletionsarch/x86/crypto/cast5-avx-x86_64-asm_64.S
- arch/x86/crypto/cast6-avx-x86_64-asm_64.S 5 additions, 5 deletionsarch/x86/crypto/cast6-avx-x86_64-asm_64.S
- arch/x86/crypto/chacha-avx2-x86_64.S 3 additions, 3 deletionsarch/x86/crypto/chacha-avx2-x86_64.S
- arch/x86/crypto/chacha-avx512vl-x86_64.S 3 additions, 3 deletionsarch/x86/crypto/chacha-avx512vl-x86_64.S
- arch/x86/crypto/chacha-ssse3-x86_64.S 4 additions, 4 deletionsarch/x86/crypto/chacha-ssse3-x86_64.S
- arch/x86/crypto/crc32-pclmul_asm.S 1 addition, 1 deletionarch/x86/crypto/crc32-pclmul_asm.S
- arch/x86/crypto/crc32c-pcl-intel-asm_64.S 1 addition, 1 deletionarch/x86/crypto/crc32c-pcl-intel-asm_64.S
- arch/x86/crypto/crct10dif-pcl-asm_64.S 1 addition, 1 deletionarch/x86/crypto/crct10dif-pcl-asm_64.S
Please register or sign in to comment