Re: [PATCH v2 0/3] crypto: hisilicon - add fallback function for hisilicon accelerater driver

From: liulongfang
Date: Wed Aug 20 2025 - 03:21:58 EST


On 2025/8/18 14:57, Chenghai Huang wrote:
> Support fallback for zip/sec2/hpre when device is busy.
>
> V1: https://lore.kernel.org/all/20250809070829.47204-1-huangchenghai2@xxxxxxxxxx/
> Updates:
> - Remove unnecessary callback completions.
> - Add CRYPTO_ALG_NEED_FALLBACK to hisi_zip's cra_flags.
>
> Chenghai Huang (1):
> crypto: hisilicon/zip - support fallback for zip
>
> Qi Tao (1):
> crypto: hisilicon/sec2 - support skcipher/aead fallback for hardware
> queue unavailable
>
> Weili Qian (1):
> crypto: hisilicon/hpre - support the hpre algorithm fallback
>
> drivers/crypto/hisilicon/Kconfig | 1 +
> drivers/crypto/hisilicon/hpre/hpre_crypto.c | 314 +++++++++++++++++---
> drivers/crypto/hisilicon/qm.c | 4 +-
> drivers/crypto/hisilicon/sec2/sec_crypto.c | 62 +++-
> drivers/crypto/hisilicon/zip/zip_crypto.c | 52 +++-
> 5 files changed, 360 insertions(+), 73 deletions(-)
>

Reviewed-by: Longfang Liu <liulongfang@xxxxxxxxxx>

Thanks.