Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: qat - disable registration of algorithms
BugLink: https://bugs.launchpad.net/bugs/1969106 commit 8893d27 upstream. The implementations of aead and skcipher in the QAT driver do not support properly requests with the CRYPTO_TFM_REQ_MAY_BACKLOG flag set. If the HW queue is full, the driver returns -EBUSY but does not enqueue the request. This can result in applications like dm-crypt waiting indefinitely for a completion of a request that was never submitted to the hardware. To avoid this problem, disable the registration of all crypto algorithms in the QAT driver by setting the number of crypto instances to 0 at configuration time. Cc: stable@vger.kernel.org Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit cb807cb52a8e399dfe7d58a64549cbbbb176ba9d) Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
- Loading branch information