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 <linwenkai6@xxxxxxxxxxxxx> > --- > drivers/crypto/hisilicon/qm.c | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt