]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qat - add misc workqueue
authorWojciech Ziemba <wojciech.ziemba@intel.com>
Thu, 10 Feb 2022 13:38:25 +0000 (13:38 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Feb 2022 05:21:09 +0000 (16:21 +1100)
commitbf59fa8ac73d393537c085390f93dc79bfdc0d03
tree90972c6479e969fb7aee6ab4210a64c7984d9a73
parent75f726f2f916903bff59f7dd99cd00d4cf0e5b71
crypto: qat - add misc workqueue

In an effort to reduce the amount of workqueues, scattered across
the QAT driver, introduce the misc workqueue. This queue will be used
to handle bottom halves, Power Management and more in the future.

The function adf_misc_wq_queue_work() has been added to simplify
the enqueuing of jobs.

Signed-off-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Marco Chiappero <marco.chiappero@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_common_drv.h
drivers/crypto/qat/qat_common/adf_ctl_drv.c
drivers/crypto/qat/qat_common/adf_isr.c