crypto: fix missing CRYPTO_ALG_ASYNC for async drivers
Subsystems (3)
v2 cover crypto: fix missing CRYPTO_ALG_ASYNC for async drivers
From: Barry Song <[email protected]>
Fix missing CRYPTO_ALG_ASYNC cra_flags for hisilicon and intel iaa drivers.
-V2:
* collect Acked-by of Tom and Yang, thanks for reviewing!
Barry Song (2):
crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags
drivers/crypto/hisilicon/zip/zip_crypto.c | 1 + drivers/crypto/intel/iaa/iaa_crypto_main.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.34.1
PATCH v2 1/2 crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
From: Barry Song <[email protected]>
Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver works asynchronously.
--- drivers/crypto/hisilicon/zip/zip_crypto.c | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/hisilicon/zip/zip_crypto.c +1 -0
@@ -591,6 +591,7 @@ static struct acomp_alg hisi_zip_acomp_deflate = { .base = { .cra_name = "deflate", .cra_driver_name = "hisi-deflate-acomp", + .cra_flags = CRYPTO_ALG_ASYNC, .cra_module = THIS_MODULE, .cra_priority = HZIP_ALG_PRIORITY, .cra_ctxsize = sizeof(struct hisi_zip_ctx),
Signature · 1 line
2.34.1
PATCH v2 2/2 crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags
In reply to Barry SongFrom: Barry Song <[email protected]>
Add the missing CRYPTO_ALG_ASYNC flag since intel iaa driver works asynchronously.
--- drivers/crypto/intel/iaa/iaa_crypto_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/intel/iaa/iaa_crypto_main.c +1 -0
@@ -1916,6 +1916,7 @@ static struct acomp_alg iaa_acomp_fixed_deflate = { .base = { .cra_name = "deflate", .cra_driver_name = "deflate-iaa", + .cra_flags = CRYPTO_ALG_ASYNC, .cra_ctxsize = sizeof(struct iaa_compression_ctx), .cra_module = THIS_MODULE, .cra_priority = IAA_ALG_PRIORITY,
Signature · 1 line
2.34.1
On Thu, Feb 29, 2024 at 11:15 PM Barry Song <[email protected]> wrote:
Hi Herbert,
Did you miss this one? hopefully, this can land in 6.9 so that acomp_is_async() can
safely land after it. Otherwise, I might break intel/iaa and hisilicon.
Thanks
Barry
Quoted 20 lines
From: Barry Song <[email protected]>
Fix missing
CRYPTO_ALG_ASYNCcra_flagsfor hisilicon and intel iaa drivers.-V2:
* collect Acked-by of Tom and Yang, thanks for reviewing!Barry Song (2):
crypto: hisilicon/zip - fix the missingCRYPTO_ALG_ASYNCincra_flags
crypto: iaa - fix the missingCRYPTO_ALG_ASYNCincra_flagsdrivers/crypto/hisilicon/zip/zip_crypto.c | 1 + drivers/crypto/intel/iaa/iaa_crypto_main.c | 1 + 2 files changed, 2 insertions(+)--
2.34.1
Herbert Xu
maintainerQuoted 8 lines · Barry Song
From: Barry Song <[email protected]>
Fix missing
CRYPTO_ALG_ASYNCcra_flagsfor hisilicon and intel iaa drivers.-V2:
* collect Acked-by of Tom and Yang, thanks for reviewing!
Quoted 10 lines
Barry Song (2):
crypto: hisilicon/zip - fix the missingCRYPTO_ALG_ASYNCincra_flags
crypto: iaa - fix the missingCRYPTO_ALG_ASYNCincra_flagsdrivers/crypto/hisilicon/zip/zip_crypto.c | 1 + drivers/crypto/intel/iaa/iaa_crypto_main.c | 1 + 2 files changed, 2 insertions(+)Signature · 1 line
2.34.1
All applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt