]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon/zip - support fallback for zip
authorChenghai Huang <huangchenghai2@huawei.com>
Thu, 18 Dec 2025 13:44:50 +0000 (21:44 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Jan 2026 06:02:06 +0000 (14:02 +0800)
commit73398f85a430cfebc2ff06ab836d6d9eb1484c79
tree692373021d62ad84cac270ac546e4fb1ae78c457
parent2a75decec1193c2fca1833d7f740796a72b925f1
crypto: hisilicon/zip - support fallback for zip

When the hardware queue resource busy(no shareable queue)
or memery alloc fail in initialization of acomp_alg, use
soft algorithm to complete the work.

Fixes: 1a9e6f59caee ("crypto: hisilicon/zip - remove zlib and gzip")
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/Kconfig
drivers/crypto/hisilicon/zip/zip_crypto.c