* [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
@ 2024-02-20 4:42 Barry Song
2024-02-20 4:42 ` [PATCH 2/2] crypto: iaa " Barry Song
2024-02-28 6:48 ` [PATCH 1/2] crypto: hisilicon/zip " Yang Shen
0 siblings, 2 replies; 4+ messages in thread
From: Barry Song @ 2024-02-20 4:42 UTC (permalink / raw)
To: davem, herbert, linux-crypto
Cc: linux-kernel, Barry Song, Yang Shen, Zhou Wang
Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver
works asynchronously.
Cc: Yang Shen <shenyang39@huawei.com>
Cc: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Barry Song <v-songbaohua@oppo.com>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags
2024-02-20 4:42 [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags Barry Song
@ 2024-02-20 4:42 ` Barry Song
2024-02-21 21:18 ` Tom Zanussi
2024-02-28 6:48 ` [PATCH 1/2] crypto: hisilicon/zip " Yang Shen
1 sibling, 1 reply; 4+ messages in thread
From: Barry Song @ 2024-02-20 4:42 UTC (permalink / raw)
To: davem, herbert, linux-crypto; +Cc: linux-kernel, Barry Song, Tom Zanussi
Add the missing CRYPTO_ALG_ASYNC flag since intel iaa driver
works asynchronously.
Cc: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Barry Song <v-songbaohua@oppo.com>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags
2024-02-20 4:42 ` [PATCH 2/2] crypto: iaa " Barry Song
@ 2024-02-21 21:18 ` Tom Zanussi
0 siblings, 0 replies; 4+ messages in thread
From: Tom Zanussi @ 2024-02-21 21:18 UTC (permalink / raw)
To: Barry Song, davem, herbert, linux-crypto; +Cc: linux-kernel, Barry Song
Hi Barry,
On Tue, 2024-02-20 at 17:42 +1300, Barry Song wrote:
> Add the missing CRYPTO_ALG_ASYNC flag since intel iaa driver
> works asynchronously.
>
> Cc: Tom Zanussi <tom.zanussi@linux.intel.com>
> Signed-off-by: Barry Song <v-songbaohua@oppo.com>
> ---
> 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,
Makes sense, thanks for the patch.
Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
2024-02-20 4:42 [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags Barry Song
2024-02-20 4:42 ` [PATCH 2/2] crypto: iaa " Barry Song
@ 2024-02-28 6:48 ` Yang Shen
1 sibling, 0 replies; 4+ messages in thread
From: Yang Shen @ 2024-02-28 6:48 UTC (permalink / raw)
To: Barry Song, davem, herbert, linux-crypto
Cc: linux-kernel, Barry Song, Zhou Wang
在 2024/2/20 12:42, Barry Song 写道:
> Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver
> works asynchronously.
>
> Cc: Yang Shen <shenyang39@huawei.com>
> Cc: Zhou Wang <wangzhou1@hisilicon.com>
> Signed-off-by: Barry Song <v-songbaohua@oppo.com>
> ---
> 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),
Thx!
Acked-by: Yang Shen <shenyang39@huawei.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-02-28 6:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-20 4:42 [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags Barry Song
2024-02-20 4:42 ` [PATCH 2/2] crypto: iaa " Barry Song
2024-02-21 21:18 ` Tom Zanussi
2024-02-28 6:48 ` [PATCH 1/2] crypto: hisilicon/zip " Yang Shen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).