]> 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>
Sat, 14 Dec 2024 18:50:44 +0000 (19:50 +0100)
commit06de6e9bc8187346987848aa7fec45bc91dff720
treeaf59d2f83113e1c50bb0b2bfde77ff7fd79ce17e
parent4ad7033de109d0fec99086f352f58a3412e378b8
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/qat/qat_common/adf_hw_arbiter.c