crypto: hisilicon/qm - implement for querying hardware tasks status.
mainline inclusion from mainline-master commit d18344c0 category: feature bugzilla: 173981 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d18344c0d095df544bd7174b8fae2cba523dd4a4 ---------------------------------------------------------------------- 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@hisilicon.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Mingqiang Ling <lingmingqiang@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment