Re: [PATCH v2 1/5] crypto: hisilicon/zip - add backlog support for zip
From: huangchenghai
Date: Mon Jun 08 2026 - 21:44:15 EST
在 2026/6/5 19:48, Herbert Xu 写道:
On Thu, May 28, 2026 at 07:55:27PM +0800, ZongYu Wu wrote:
From: Chenghai Huang<huangchenghai2@xxxxxxxxxx>We already have a generic queueing mechanism in the form of
When the hardware queue is busy, requests are now queued instead of
being failed immediately. Queued requests are retried when earlier
requests complete, which prevents transient failures under heavy load.
The backlog path also provides a fallback mechanism while the hardware
is temporarily unavailable, such as during device reset.
Signed-off-by: Chenghai Huang<huangchenghai2@xxxxxxxxxx>
Signed-off-by: Zongyu Wu<wuzongyu1@xxxxxxxxxx>
---
drivers/crypto/hisilicon/zip/zip_crypto.c | 286 ++++++++++++++--------
1 file changed, 183 insertions(+), 103 deletions(-)
crypto_engine.
Please add support for acomp to it instead of rolling your own
queueing mechanism.
Thanks,
OK. I will add the acomp support to crypto_engine
and then implement hisilicon backlog through it.
Thanks,
Chenghai