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(+)
--
2.34.1
From: Barry Song <[email protected]>
Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver
works asynchronously.
Cc: Zhou Wang <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Acked-by: Yang Shen <[email protected]>
---
drivers/crypto/hisilicon/zip/zip_crypto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/hisilicon/zip/zip_crypto.c b/drivers/crypto/hisilicon/zip/zip_crypto.c
index c650c741a18d..94e2d66b04b6 100644
--- a/drivers/crypto/hisilicon/zip/zip_crypto.c
+++ b/drivers/crypto/hisilicon/zip/zip_crypto.c
@@ -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),
--
2.34.1
From: Barry Song <[email protected]>
Add the missing CRYPTO_ALG_ASYNC flag since intel iaa driver
works asynchronously.
Signed-off-by: Barry Song <[email protected]>
Acked-by: Tom Zanussi <[email protected]>
---
drivers/crypto/intel/iaa/iaa_crypto_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/intel/iaa/iaa_crypto_main.c b/drivers/crypto/intel/iaa/iaa_crypto_main.c
index dfd3baf0a8d8..91adf9d76a2e 100644
--- a/drivers/crypto/intel/iaa/iaa_crypto_main.c
+++ b/drivers/crypto/intel/iaa/iaa_crypto_main.c
@@ -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,
--
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
>
> 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(+)
>
> --
> 2.34.1
>