2021-06-24 07:38:01

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: hisilicon/qm - implement for querying hardware tasks status.

On Fri, Jun 18, 2021 at 05:36:06PM +0800, Wenkai Lin wrote:
> This patch adds a function hisi_qm_is_q_updated to
> check if the task is ready in hardware queue when
> user polls an UACCE queue.This prevents users from
> repeatedly querying whether the accelerator has
> completed tasks, which wastes CPU resources.
>
> Signed-off-by: Wenkai Lin <[email protected]>
> ---
> drivers/crypto/hisilicon/qm.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt