]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: qat - remove faulty arbiter config reset
authorAhsan Atta <ahsan.atta@intel.com>
Mon, 7 Oct 2024 13:42:40 +0000 (14:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:52:49 +0000 (13:52 +0100)
commitf12d0dd1e9aa009ca632042b9ce16c5f6867baaf
tree0c58e700c22bbc1f23e9153c5b599e1ca1dd8047
parentfdb90006184aa84c7b4e09144ed0936d4e1891a7
crypto: qat - remove faulty arbiter config reset

[ Upstream commit 70199359902f1c7187dcb28a1be679a7081de7cc ]

Resetting the service arbiter config can cause potential issues
related to response ordering and ring flow control check in the
event of AER or device hang. This is because it results in changing
the default response ring size from 32 bytes to 16 bytes. The service
arbiter config reset also disables response ring flow control check.
Thus, by removing this reset we can prevent the service arbiter from
being configured inappropriately, which leads to undesired device
behaviour in the event of errors.

Fixes: 7afa232e76ce ("crypto: qat - Intel(R) QAT DH895xcc accelerator")
Signed-off-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/intel/qat/qat_common/adf_hw_arbiter.c