Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: qat - remove faulty arbiter config reset

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>

authored by

Ahsan Atta and committed by
Herbert Xu
70199359 5c207727

-4
-4
drivers/crypto/intel/qat/qat_common/adf_hw_arbiter.c
··· 90 90 91 91 hw_data->get_arb_info(&info); 92 92 93 - /* Reset arbiter configuration */ 94 - for (i = 0; i < ADF_ARB_NUM; i++) 95 - WRITE_CSR_ARB_SARCONFIG(csr, arb_off, i, 0); 96 - 97 93 /* Unmap worker threads to service arbiters */ 98 94 for (i = 0; i < hw_data->num_engines; i++) 99 95 WRITE_CSR_ARB_WT2SAM(csr, arb_off, wt_off, i, 0);