2020-04-15 13:05:02

by Mark Brown

[permalink] [raw]
Subject: [PATCH] arm64: crypto: Consistently enable extension

Currently most of the crypto files enable the crypto extension using the
.arch directive but crct10dif-ce-core.S uses .cpu instead. Move that over
to .arch for consistency.

Signed-off-by: Mark Brown <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
---
arch/arm64/crypto/crct10dif-ce-core.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/crypto/crct10dif-ce-core.S b/arch/arm64/crypto/crct10dif-ce-core.S
index 5a95c2628fbf..111d9c9abddd 100644
--- a/arch/arm64/crypto/crct10dif-ce-core.S
+++ b/arch/arm64/crypto/crct10dif-ce-core.S
@@ -66,7 +66,7 @@
#include <asm/assembler.h>

.text
- .cpu generic+crypto
+ .arch armv8-a+crypto

init_crc .req w19
buf .req x20
--
2.20.1


2020-04-24 07:47:19

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] arm64: crypto: Consistently enable extension

On Tue, Apr 14, 2020 at 07:20:08PM +0100, Mark Brown wrote:
> Currently most of the crypto files enable the crypto extension using the
> .arch directive but crct10dif-ce-core.S uses .cpu instead. Move that over
> to .arch for consistency.
>
> Signed-off-by: Mark Brown <[email protected]>
> Acked-by: Ard Biesheuvel <[email protected]>
> ---
> arch/arm64/crypto/crct10dif-ce-core.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

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