Re: [PATCH] crypto/x86: Remove include/asm/inst.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 09, 2020 at 05:08:57PM +0200, Uros Bizjak wrote:
> Current minimum required version of binutils is 2.23,
> which supports PSHUFB, PCLMULQDQ, PEXTRD, AESKEYGENASSIST,
> AESIMC, AESENC, AESENCLAST, AESDEC, AESDECLAST and MOVQ
> instruction mnemonics.
> 
> Substitute macros from include/asm/inst.h with a proper
> instruction mnemonics in various assmbly files from
> x86/crypto directory, and remove now unneeded file.
> 
> The patch was tested by calculating and comparing sha256sum
> hashes of stripped object files before and after the patch,
> to be sure that executable code didn't change.
> 
> Signed-off-by: Uros Bizjak <ubizjak@xxxxxxxxx>
> CC: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
> CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> CC: Ingo Molnar <mingo@xxxxxxxxxx>
> CC: Borislav Petkov <bp@xxxxxxxxx>
> CC: "H. Peter Anvin" <hpa@xxxxxxxxx>
> ---
>  arch/x86/crypto/aes_ctrby8_avx-x86_64.S   |   1 -
>  arch/x86/crypto/aesni-intel_asm.S         | 733 +++++++++++-----------
>  arch/x86/crypto/aesni-intel_avx-x86_64.S  |   1 -
>  arch/x86/crypto/crc32-pclmul_asm.S        |  47 +-
>  arch/x86/crypto/crc32c-pcl-intel-asm_64.S |   5 +-
>  arch/x86/crypto/ghash-clmulni-intel_asm.S |  17 +-
>  arch/x86/include/asm/inst.h               | 311 ---------
>  7 files changed, 399 insertions(+), 716 deletions(-)
>  delete mode 100644 arch/x86/include/asm/inst.h

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux